From ba31d3a88c8c76ec3c76d9a91373fa24e64797cd Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 3 Jun 2018 10:17:30 +0000 Subject: Increment the lines counter when skipping a line to avoid an infinite loop, and fix a check to avoid a potential out-of-bounds access. Problem reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue 1352. Also a man page fix request by jmc@. --- tmux.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index f9d7cb98..ac5e9b44 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3585,7 +3585,8 @@ and .Ql #} , unless they are part of a .Ql #{...} -replacement. For example: +replacement. +For example: .Bd -literal -offset indent #{?pane_in_mode,#[fg=white#,bg=red],#[fg=red#,bg=white]}#W . .Ed -- cgit