From 4ca6b42c241c9bb6769417ca1dc4fada521f3db8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 10 May 2021 07:52:30 +0100 Subject: Add -F for command-prompt and use it to fix "Rename" on the window menu, GitHub issue 2699. --- tmux.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.1') 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. -- cgit