From 1ebd8c123415a60960dcd088d75d13f761bd3b3b Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 25 Nov 2019 15:04:15 +0000 Subject: Add p format modifier for padding to width. --- tmux.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmux.1') 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:\& -- cgit