aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-08-03 21:06:38 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-08-03 21:06:38 +0100
commit84c22d053b5ec1cd25e1694fa3889922b9cbe11b (patch)
treecc2a16f9740fdf784459b06fead42323bbcc7b8d /tmux.1
parent7581762c8e07b18726933616ac92458f9e74d4c6 (diff)
downloadrtmux-84c22d053b5ec1cd25e1694fa3889922b9cbe11b.tar.gz
rtmux-84c22d053b5ec1cd25e1694fa3889922b9cbe11b.tar.bz2
rtmux-84c22d053b5ec1cd25e1694fa3889922b9cbe11b.zip
Add length limit operator for formats.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
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"