aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-09-15 21:42:57 +0000
committernicm <nicm>2019-09-15 21:42:57 +0000
commit63e07b245f898af17657c4655f1251aa43e19d0c (patch)
tree6c2db5b222dac64b3804e8b6731fa210f79f4548 /tmux.1
parenta23ce1b45ff8b8999e2817c9e747188c559725e1 (diff)
downloadrtmux-63e07b245f898af17657c4655f1251aa43e19d0c.tar.gz
rtmux-63e07b245f898af17657c4655f1251aa43e19d0c.tar.bz2
rtmux-63e07b245f898af17657c4655f1251aa43e19d0c.zip
Add push-default and pop-default in styles to change the default colours
and attributes and use them to restore the previous behaviour of window-status-style being the default for window-status-format in the status line. From John Drouhard in GitHub issue 1912.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.118
1 files changed, 17 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 8507ae75..c99e506c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4333,7 +4333,9 @@ and
.Pp
A style may be the single term
.Ql default
-to specify the default style (which may inherit from another option) or a space
+to specify the default style (which may come from an option, for example
+.Ic status-style
+in the status line) or a space
or comma separated list of the following:
.Bl -tag -width Ds
.It Ic fg=colour
@@ -4412,6 +4414,20 @@ and
.Ic list=right-marker
mark the text to be used to mark that text has been trimmed from the left or
right of the list if there is not enough space.
+.It Xo Ic push-default ,
+.Ic pop-default
+.Xc
+Store the current colours and attributes as the default or reset to the previous
+default.
+A
+.Ic push-default
+affects any subsequent use of the
+.Ic default
+term until a
+.Ic pop-default .
+Only one default may be pushed (each
+.Ic push-default
+replaces the previous saved default).
.It Xo Ic range=left ,
.Ic range=right ,
.Ic range=window|X ,