summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-17 18:45:08 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-17 18:45:08 +0000
commit6f5150a943425d7d5d65ae443f956931fcb82d0b (patch)
treec216bcb4894a8b6b330cc4775e8490e10a8b18b3 /key-bindings.c
parentad006bc6b66f335e87c0876d1b77af3541a4b517 (diff)
- New command display-message (alias display) to display a message in the
status line (bound to "i" and displays the current window and time by default). The same substitutions are applied as for status-left/right. - Add support for including the window index (#I), pane index (#P) and window name (#W) in the message, and status-left or status-right. - Bump protocol version. From Tiago Cunha, thanks!
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 56b1d58b..c298c79d 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -119,6 +119,7 @@ key_bindings_init(void)
{ 'c', 0, &cmd_new_window_entry },
{ 'd', 0, &cmd_detach_client_entry },
{ 'f', 0, &cmd_command_prompt_entry },
+ { 'i', 0, &cmd_display_message_entry },
{ 'l', 0, &cmd_last_window_entry },
{ 'n', 0, &cmd_next_window_entry },
{ 'o', 0, &cmd_down_pane_entry },