aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-11-09 09:10:10 +0000
committernicm <nicm>2020-11-09 09:10:10 +0000
commit61e55fa50dc7119a8c88bb385e615a8e6c8d6a85 (patch)
treece341e040b1c21fb3a076b29496f686e689cc982 /tmux.1
parent1326529f99366e7d438364fd8727ec132a2f7433 (diff)
downloadrtmux-61e55fa50dc7119a8c88bb385e615a8e6c8d6a85.tar.gz
rtmux-61e55fa50dc7119a8c88bb385e615a8e6c8d6a85.tar.bz2
rtmux-61e55fa50dc7119a8c88bb385e615a8e6c8d6a85.zip
Change how escaping is processed for formats so that ## and # can be
used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 0a71cc37..37f6f165 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4591,7 +4591,9 @@ pads the string to a given width, for example
will result in a width of at least 10 characters.
A positive width pads on the left, a negative on the right.
.Ql n
-expands to the length of the variable, for example
+expands to the length of the variable and
+.Ql w
+to its width when displayed, for example
.Ql #{n:window_name} .
.Pp
Prefixing a time variable with