diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-19 22:35:10 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-19 22:35:10 +0000 |
commit | f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1 (patch) | |
tree | 3d17ba79b17cfa05ba90112f7209014249ce7af7 /tmux.1 | |
parent | 1feea926ed83c15232df01756aed771afd7168f2 (diff) | |
download | rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.gz rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.bz2 rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.zip |
Sync OpenBSD patchset 553:
Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.
This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.206 2009-11-19 22:32:12 tcunha Exp $ +.\" $Id: tmux.1,v 1.207 2009-11-19 22:35:10 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -1477,6 +1477,7 @@ may contain any of the following special character sequences: .It Li "#(command)" Ta "First line of command's output" .It Li "#[attributes]" Ta "Colour or attribute change" .It Li "#H" Ta "Hostname of local host" +.It Li "#F" Ta "Current window flag" .It Li "#I" Ta "Current window index" .It Li "#P" Ta "Current pane index" .It Li "#S" Ta "Session name" @@ -1785,6 +1786,14 @@ Set status line background colour for a single window. .It Ic window-status-fg Ar colour Set status line foreground colour for a single window. .Pp +.It Ic window-status-format Ar string +Set the format in which the window is displayed in the status line window list. +See the +.Ar status-left +option for details of special character sequences available. +The default is +.Ql #I:#W#F . +.Pp .It Ic window-status-current-attr Ar attributes Set status line attributes for the currently active window. .Pp @@ -1794,6 +1803,11 @@ Set status line background colour for the currently active window. .It Ic window-status-current-fg Ar colour Set status line foreground colour for the currently active window. .Pp +.It Ic window-status-current-format Ar string +Like +.Ar window-status-format , +but is the format used when the window is the current window. +.Pp .It Xo Ic xterm-keys .Op Ic on | off .Xc @@ -1900,8 +1914,13 @@ command, see the and .Ic status-right-length options below), and a central window list. -The window list shows the index, name and (if any) flag of the windows -present in the current session in ascending numerical order. +By default, the window list shows the index, name and (if any) flag of the +windows present in the current session in ascending numerical order. +It may be customised with the +.Ar window-status-format +and +.Ar window-status-current-format +options. The flag is one of the following symbols appended to the window name: .Bl -column "Symbol" "Meaning" -offset indent .It Sy "Symbol" Ta Sy "Meaning" |