Add R format modifier to repeat an argument.

This commit is contained in:
nicm
2025-05-12 10:26:19 +00:00
parent 1ce1e7ef27
commit 79b02998a6
2 changed files with 45 additions and 14 deletions

10
tmux.1
View File

@ -5833,6 +5833,12 @@ expands to the length of the variable and
.Ql w
to its width when displayed, for example
.Ql #{n:window_name} .
.Ql R
repeats the first argument by a number of times given by the second argument,
so
.Ql #{R:a,3}
will result in
.Ql aaa .
.Pp
Prefixing a time variable with
.Ql t:\&
@ -7281,7 +7287,7 @@ Lock each client individually by running the command specified by the
option.
.Tg run
.It Xo Ic run-shell
.Op Fl bC
.Op Fl bCE
.Op Fl c Ar start-directory
.Op Fl d Ar delay
.Op Fl t Ar target-pane
@ -7309,6 +7315,8 @@ the command is run in the background.
waits for
.Ar delay
seconds before starting the command.
.Fl E
redirects the command's stderr to stdout instead of ignoring it.
If
.Fl c
is given, the current working directory is set to