summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-11 18:39:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-11 18:39:25 +0000
commit51487ed22f0acf199f64728f3efc15a3c9ad615f (patch)
treed7702647b5c8d0337b0f5708118359ebd78e95d6 /key-bindings.c
parent20ed20ea1eb996cbfc530688dac7646f58a43fe6 (diff)
Track the last session for a client and add a flag to switch-client and
a key binding (L) to move a client back to its last session.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 721620ff..32e81e94 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -128,6 +128,7 @@ key_bindings_init(void)
{ '=', 0, &cmd_choose_buffer_entry },
{ '?', 0, &cmd_list_keys_entry },
{ 'D', 0, &cmd_choose_client_entry },
+ { 'L', 0, &cmd_switch_client_entry },
{ '[', 0, &cmd_copy_mode_entry },
{ '\'', 0, &cmd_command_prompt_entry },
{ '\002', /* C-b */ 0, &cmd_send_prefix_entry },