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

GitHub issue 2699.
This commit is contained in:
nicm
2021-06-10 07:52:56 +00:00
parent 73bf358f6d
commit 1bbdd2aba2
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.