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

1
tmux.h
View File

@@ -2054,6 +2054,7 @@ struct client {
#define PROMPT_KEY 0x10
#define PROMPT_ACCEPT 0x20
#define PROMPT_QUOTENEXT 0x40
#define PROMPT_BSPACE_EXIT 0x80
int prompt_flags;
enum prompt_type prompt_type;
int prompt_cursor;