From 84c22d053b5ec1cd25e1694fa3889922b9cbe11b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 3 Aug 2013 21:06:38 +0100 Subject: Add length limit operator for formats. --- tmux.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 340109b6..19ae4a9b 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3026,6 +3026,12 @@ will include the string if the session is attached and the string .Ql not attached if it is unattached. +A limit may be placed on the length of the resultant string by prefixing it +by an +.Ql = , +a number and a colon, so +.Ql #{=10:pane_title} +will include at most the first 10 characters of the pane title. .Pp The following variables are available, where appropriate: .Bl -column "XXXXXXXXXXXXXXXXXXX" "XXXXX" -- cgit