Add -F for command-prompt and use it to fix "Rename" on the window menu, GitHub

issue 2699.
This commit is contained in:
Nicholas Marriott
2021-05-10 07:52:30 +01:00
parent bde3829131
commit 4ca6b42c24
3 changed files with 13 additions and 6 deletions

7
tmux.1
View File

@ -5392,7 +5392,7 @@ See
for possible values for
.Ar prompt-type .
.It Xo Ic command-prompt
.Op Fl 1ikN
.Op Fl 1FikN
.Op Fl I Ar inputs
.Op Fl p Ar prompts
.Op Fl t Ar target-client
@ -5407,6 +5407,11 @@ to execute commands interactively.
If
.Ar template
is specified, it is used as the command.
With
.Fl F ,
.Ar template
is expanded as a format.
.Pp
If present,
.Fl I
is a comma-separated list of the initial text for each prompt.