aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-05-28 15:02:31 +0100
committerThomas Adam <thomas@xteddy.org>2018-05-28 15:02:31 +0100
commit058d2b94dc6cad58b8c500988eb91580b6afe397 (patch)
tree53cad1dd4af66d0f78c1fe4545dc1a3dd324d395 /tmux.1
parent8f8e0975f1427f24cc1a129edc7116261ef78cb1 (diff)
parentc177a627d26d0e254390d27ad6348ea681ff0f7d (diff)
downloadrtmux-058d2b94dc6cad58b8c500988eb91580b6afe397.tar.gz
rtmux-058d2b94dc6cad58b8c500988eb91580b6afe397.tar.bz2
rtmux-058d2b94dc6cad58b8c500988eb91580b6afe397.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.115
1 files changed, 15 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index d184b7a6..d6cb65b3 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3578,6 +3578,21 @@ if
is enabled, or
.Ql no
if not.
+Conditionals can be nested arbitrarily.
+Inside a conditional,
+.Ql \&,
+and
+.Ql }
+must be escaped as
+.Ql #,
+and
+.Ql #} ,
+unless they are part of a
+.Ql #{...}
+replacement. For example:
+.Bd -literal -offset indent
+#{?pane_in_mode,#[fg=white#,bg=red],#[fg=red#,bg=white]}#W .
+.Ed
.Pp
Comparisons may be expressed by prefixing two comma-separated
alternatives by