aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2021-06-10 07:52:56 +0000
committernicm <nicm>2021-06-10 07:52:56 +0000
commit1bbdd2aba27057363134fa8c20c10e56ce095dea (patch)
treead23b1c04d7ca14d058569c35c9c81c6ddbc96be /tmux.1
parent73bf358f6da9ce8b6c2dd51849ab88a22bb883ad (diff)
downloadrtmux-1bbdd2aba27057363134fa8c20c10e56ce095dea.tar.gz
rtmux-1bbdd2aba27057363134fa8c20c10e56ce095dea.tar.bz2
rtmux-1bbdd2aba27057363134fa8c20c10e56ce095dea.zip
Add -F for command-prompt and use it to fix "Rename" on the window menu,
GitHub issue 2699.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 50b3b6b7..d44dd591 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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.