aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-05-10 07:52:30 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-05-10 07:52:30 +0100
commit4ca6b42c241c9bb6769417ca1dc4fada521f3db8 (patch)
tree8ec617cbbf0dc1579ec6b8bce5c1cd8e3669674a /tmux.1
parentbde3829131bd851b8210fd4a35871b01286da1eb (diff)
downloadrtmux-4ca6b42c241c9bb6769417ca1dc4fada521f3db8.tar.gz
rtmux-4ca6b42c241c9bb6769417ca1dc4fada521f3db8.tar.bz2
rtmux-4ca6b42c241c9bb6769417ca1dc4fada521f3db8.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 30a6e75b..e02e5728 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.