Add -W and -T flags to command-prompt to only complete a window and a

target, also complete aliases.
This commit is contained in:
nicm
2020-05-16 15:16:36 +00:00
parent 2391fe23ab
commit 463864f5a2
5 changed files with 95 additions and 41 deletions

2
tmux.h
View File

@ -1602,6 +1602,8 @@ struct client {
#define PROMPT_INCREMENTAL 0x4
#define PROMPT_NOFORMAT 0x8
#define PROMPT_KEY 0x10
#define PROMPT_WINDOW 0x20
#define PROMPT_TARGET 0x40
int prompt_flags;
struct session *session;