aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-12-11 18:42:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-12-11 18:42:20 +0000
commit5fcd6711e4319a03349a9506d646767c73a5381a (patch)
tree13ecf2ecd2e73ee38e644ed069be19c5b31ed257 /key-bindings.c
parentd227a2e661f32d3b5058357872ae3cf797d3cd42 (diff)
downloadrtmux-5fcd6711e4319a03349a9506d646767c73a5381a.tar.gz
rtmux-5fcd6711e4319a03349a9506d646767c73a5381a.tar.bz2
rtmux-5fcd6711e4319a03349a9506d646767c73a5381a.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 66588415..bea499e8 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.96 2010-10-24 01:34:30 tcunha Exp $ */
+/* $Id: key-bindings.c,v 1.97 2010-12-11 18:42:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 },