aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-09-10 13:36:17 +0000
committerTiago Cunha <tcunha@gmx.com>2010-09-10 13:36:17 +0000
commit89c07dedd9159e45c81a490a68f953b569d72f48 (patch)
treee83920668b0029c487e38ecf36eddaad06e70137 /key-bindings.c
parent28a0b6fd20cbd8834c8918836ed42a6765c4cdf0 (diff)
downloadrtmux-89c07dedd9159e45c81a490a68f953b569d72f48.tar.gz
rtmux-89c07dedd9159e45c81a490a68f953b569d72f48.tar.bz2
rtmux-89c07dedd9159e45c81a490a68f953b569d72f48.zip
Sync OpenBSD patchset 759:
Add -n and -p flags to switch-client to move to the next and previous session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index f799b399..79f4005b 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.94 2010-07-02 02:43:01 tcunha Exp $ */
+/* $Id: key-bindings.c,v 1.95 2010-09-10 13:36:17 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -108,6 +108,8 @@ key_bindings_init(void)
{ '#', 0, &cmd_list_buffers_entry },
{ '%', 0, &cmd_split_window_entry },
{ '&', 0, &cmd_confirm_before_entry },
+ { '(', 0, &cmd_switch_client_entry },
+ { ')', 0, &cmd_switch_client_entry },
{ ',', 0, &cmd_command_prompt_entry },
{ '-', 0, &cmd_delete_buffer_entry },
{ '.', 0, &cmd_command_prompt_entry },