aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 7 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index fcf388af..ceb351ee 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3381,9 +3381,13 @@ if not.
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.
+a number and a colon.
+Positive numbers count from the start of the string and negative from the end,
+so
+.Ql #{=5:pane_title}
+will include at most the first 5 characters of the pane title, or
+.Ql #{=-5:pane_title}
+the last 5 characters.
Prefixing a time variable with
.Ql t:
will convert it to a string, so if