aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
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 /tmux.1
parentad006bc6b66f335e87c0876d1b77af3541a4b517 (diff)
downloadrtmux-6f5150a943425d7d5d65ae443f956931fcb82d0b.tar.gz
rtmux-6f5150a943425d7d5d65ae443f956931fcb82d0b.tar.bz2
rtmux-6f5150a943425d7d5d65ae443f956931fcb82d0b.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 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 12 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index dcc30a25..9b2f344c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -717,6 +717,15 @@ or the top buffer if not specified.
.D1 (alias: Ic detach )
Detach the current client if bound to a key, or the specified client with
.Fl t .
+.It Xo Ic display-message
+.Op Fl t Ar target-client
+.Op Ar message
+.Xc
+.D1 (alias: Ic display )
+Display a message (see the
+.Ic status-left
+option below)
+in the status line.
.It Xo Ic down-pane
.Op Fl p Ar pane-index
.Op Fl t Ar target-window
@@ -1262,8 +1271,11 @@ may contain any of the following special character pairs:
.It Sy "Character pair" Ta Sy "Replaced with"
.It Li "#(command)" Ta "First line of command's output"
.It Li "#H" Ta "Hostname of local host"
+.It Li "#I" Ta "Current window index"
+.It Li "#P" Ta "Current pane index"
.It Li "#S" Ta "Session name"
.It Li "#T" Ta "Current window title"
+.It Li "#W" Ta "Current window name"
.It Li "##" Ta "A literal" Ql #
.El
.Pp