summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-11-25 15:04:15 +0000
committernicm <nicm>2019-11-25 15:04:15 +0000
commit1ebd8c123415a60960dcd088d75d13f761bd3b3b (patch)
tree6ebf831a62c612723271e6542e5f7cff436143ed /tmux.1
parent5d0504ee115a7edd4fe53476a2721c180b0cbc26 (diff)
Add p format modifier for padding to width.
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 3649e0f6..6cf8df24 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4101,6 +4101,12 @@ appended or prepended to the string if the length has been trimmed, for example
will append
.Ql ...
if the pane title is more than five characters.
+Similarly,
+.Ql p
+pads the string to a given width, for example
+.Ql #{p10:pane_title}
+will result in a width of at least 10 characters.
+A positive width pads on the left, a negative on the right.
.Pp
Prefixing a time variable with
.Ql t:\&