Add -y flag to disable confirmation prompts in modes, GitHub issue 4152.

This commit is contained in:
nicm
2024-10-04 19:16:13 +00:00
parent 34775fc235
commit 5a68730e2f
6 changed files with 48 additions and 13 deletions

1
tmux.h
View File

@ -1935,6 +1935,7 @@ struct client {
#define PROMPT_INCREMENTAL 0x4
#define PROMPT_NOFORMAT 0x8
#define PROMPT_KEY 0x10
#define PROMPT_ACCEPT 0x20
int prompt_flags;
enum prompt_type prompt_type;
int prompt_cursor;