summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-10-25 15:13:39 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-10-25 15:13:39 +0000
commit5650c2b39286b57f4f4c47f76527367cf5066e27 (patch)
tree8d857f06e204b9edfe43f54109f0450216315ee4 /usr.bin/tmux/tmux.1
parentb6e37a7900023f8d0e428855a7979ad75542dc89 (diff)
Add a "terminal" colour which can be used instead of "default" in style
options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.115
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 4afbb64da53..9f84cc8ebbf 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.613 2018/10/18 13:03:45 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.614 2018/10/25 15:13:38 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -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: October 18 2018 $
+.Dd $Mdocdate: October 25 2018 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -2750,7 +2750,7 @@ Set status line message command style, where
.Ar style
is a comma-separated list of characteristics to be specified.
.Pp
-These may be
+The style format is shared by many options and may be:
.Ql bg=colour
to set the background colour,
.Ql fg=colour
@@ -2773,8 +2773,13 @@ and so on),
to
.Ic colour255
from the 256-colour set,
-.Ic default ,
-or a hexadecimal RGB string such as
+.Ic default
+for the default colour (inherited from another option in the case of some options, for example
+.Ic window-status-style
+inherits from
+.Ic status-style ) ,
+.Ic terminal
+for the terminal default colour, or a hexadecimal RGB string such as
.Ql #ffffff .
.Pp
The attributes is either