diff options
author | 2009-07-17 18:45:08 +0000 | |
---|---|---|
committer | 2009-07-17 18:45:08 +0000 | |
commit | 9629a58f00f3e9d74d2b153275ac41fc317e3495 (patch) | |
tree | d3cef6c73d916de4d7dbccaa250a67c8ec6d1f00 /usr.bin/tmux/cmd.c | |
parent | When resizing a screen smaller in alternate screen mode, all the lines needed (diff) | |
download | wireguard-openbsd-9629a58f00f3e9d74d2b153275ac41fc317e3495.tar.xz wireguard-openbsd-9629a58f00f3e9d74d2b153275ac41fc317e3495.zip |
- 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 'usr.bin/tmux/cmd.c')
-rw-r--r-- | usr.bin/tmux/cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c index 0e2cb44fd80..f7728ca6941 100644 --- a/usr.bin/tmux/cmd.c +++ b/usr.bin/tmux/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.6 2009/07/15 15:09:17 nicm Exp $ */ +/* $OpenBSD: cmd.c,v 1.7 2009/07/17 18:45:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -41,6 +41,7 @@ const struct cmd_entry *cmd_table[] = { &cmd_copy_mode_entry, &cmd_delete_buffer_entry, &cmd_detach_client_entry, + &cmd_display_message_entry, &cmd_down_pane_entry, &cmd_find_window_entry, &cmd_has_session_entry, |