=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.417 retrieving revision 1.418 diff -u -r1.417 -r1.418 --- src/usr.bin/tmux/tmux.1 2015/04/10 16:00:08 1.417 +++ src/usr.bin/tmux/tmux.1 2015/04/19 21:05:27 1.418 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.417 2015/04/10 16:00:08 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.418 2015/04/19 21:05:27 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 10 2015 $ +.Dd $Mdocdate: April 19 2015 $ .Dt TMUX 1 .Os .Sh NAME @@ -1730,14 +1730,17 @@ .Ic previous-layout commands. .It Xo Ic select-pane -.Op Fl DdeLlRU +.Op Fl DdegLlRU +.Op Fl P Ar style .Op Fl t Ar target-pane .Xc .D1 (alias: Ic selectp ) Make pane .Ar target-pane the active pane in window -.Ar target-window . +.Ar target-window , +or set it's style (with +.Fl P ) . If one of .Fl D , .Fl L , @@ -1754,6 +1757,22 @@ enables or .Fl d disables input to the pane. +.Pp +Each pane has a style: by default the +.Ic window-style +and +.Ic window-active-style +options are used, +.Ic select-pane +.Fl P +sets the style for a single pane. +For example, to set the pane 1 background to red: +.Bd -literal -offset indent +select-pane -t:.1 -P 'bg=red' +.Ed +.Pp +.Fl g +shows the current pane style. .It Xo Ic select-window .Op Fl lnpT .Op Fl t Ar target-window @@ -2070,7 +2089,7 @@ User options may have any name, so long as they are prefixed with .Ql \&@ , and be set to any string. -For example +For example: .Bd -literal -offset indent $ tmux setw -q @foo "abc123" $ tmux showw -v @foo @@ -2936,6 +2955,14 @@ .Nm to expect UTF-8 sequences to appear in this window. .Pp +.It Ic window-active-style Ar style +Set the style for the window's active pane. +For how to specify +.Ar style , +see the +.Ic message-command-style +option. +.Pp .It Ic window-status-activity-style Ar style Set status line style for windows with an activity alert. For how to specify @@ -2987,6 +3014,14 @@ .Pp .It Ic window-status-style Ar style Set status line style for a single window. +For how to specify +.Ar style , +see the +.Ic message-command-style +option. +.Pp +.It Ic window-style Ar style +Set the default window style. For how to specify .Ar style , see the