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

This commit is contained in:
Nicholas Marriott
2020-04-30 12:02:21 +01:00
parent 5af6943940
commit 25487757bc
5 changed files with 90 additions and 41 deletions

2
tmux.h
View File

@@ -1604,6 +1604,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;