From 6f5150a943425d7d5d65ae443f956931fcb82d0b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 17 Jul 2009 18:45:08 +0000 Subject: - 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! --- tmux.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tmux.1') 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 -- cgit