=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.598 retrieving revision 1.599 diff -c -r1.598 -r1.599 *** src/usr.bin/tmux/tmux.1 2018/05/22 08:49:12 1.598 --- src/usr.bin/tmux/tmux.1 2018/05/28 11:45:26 1.599 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.598 2018/05/22 08:49:12 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.599 2018/05/28 11:45:26 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" *************** *** 14,20 **** .\" 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: May 22 2018 $ .Dt TMUX 1 .Os .Sh NAME --- 14,20 ---- .\" 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: May 28 2018 $ .Dt TMUX 1 .Os .Sh NAME *************** *** 3574,3579 **** --- 3574,3594 ---- 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