From d0957529edcdd3f616d0361972dd819b8b4c29d0 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 20 Aug 2020 16:57:40 +0000 Subject: Add n: modifier to get length of a format, also automatically expand variable name arguments again if they contain a #{. --- tmux.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index cd20c056..46fe1fa2 100644 --- a/tmux.1 +++ b/tmux.1 @@ -4574,6 +4574,9 @@ 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. +.Ql n +expands to the length of the variable, for example +.Ql #{n:window_name} . .Pp Prefixing a time variable with .Ql t:\& -- cgit