diff options
author | 2013-10-10 11:50:20 +0000 | |
---|---|---|
committer | 2013-10-10 11:50:20 +0000 | |
commit | db5d922c43b516feee8fcbc025e9ee9ca709c05f (patch) | |
tree | ab69f7ea27b34ca16ce2f28bd17d71a7dd2fa539 /usr.bin/tmux/tmux.1 | |
parent | Handle input mouse positions <33 (we already can generate them). (diff) | |
download | wireguard-openbsd-db5d922c43b516feee8fcbc025e9ee9ca709c05f.tar.xz wireguard-openbsd-db5d922c43b516feee8fcbc025e9ee9ca709c05f.zip |
Add length limit operator for formats.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 461319b65de..0f05c1f4077 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.366 2013/10/10 11:47:52 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.367 2013/10/10 11:50:21 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -3024,6 +3024,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" |