Add -e flag to command-prompt to close if empty, from Dane Jensen in

GitHub issue 4812.
This commit is contained in:
nicm
2026-01-14 19:43:43 +00:00
parent 5721767921
commit 1e5f93b7b6
4 changed files with 17 additions and 5 deletions

6
tmux.1
View File

@@ -6716,7 +6716,7 @@ See
for possible values for
.Ar prompt-type .
.It Xo Ic command-prompt
.Op Fl 1bFiklN
.Op Fl 1beFiklN
.Op Fl I Ar inputs
.Op Fl p Ar prompts
.Op Fl t Ar target-client
@@ -6789,6 +6789,10 @@ makes the prompt only accept numeric key presses.
.Fl i
executes the command every time the prompt input changes instead of when the
user exits the command prompt.
.Fl e
makes
.Em BSpace
cancel an empty prompt.
.Pp
.Fl T
tells