aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-29 13:56:10 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-29 13:56:10 +0100
commitb06235c345d8d6426d3c8208b4e475e6c60ac884 (patch)
tree496515ffeaeebeaba5f1e660a7e2b111ea86abdf /tmux.h
parent7c52d702e4bb6d3783984001678f5be98b56b7e6 (diff)
downloadrtmux-b06235c345d8d6426d3c8208b4e475e6c60ac884.tar.gz
rtmux-b06235c345d8d6426d3c8208b4e475e6c60ac884.tar.bz2
rtmux-b06235c345d8d6426d3c8208b4e475e6c60ac884.zip
Improve command prompt completion:
- Show a menu with completions if there are multiple. - Don't complete argument stuff (options, layouts) at start of text. - For -t and -s, if there is no : then complete sessions but if there is a :, show a menu of all windows in the session rather than trying to complete the window name which is a bit useless if there are duplicates. Lots of scope for being more sophisticated left here.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e1b86322..d3cc1a53 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2799,6 +2799,7 @@ __dead void printflike(1, 2) fatalx(const char *, ...);
/* menu.c */
#define MENU_NOMOUSE 0x1
+#define MENU_TAB 0x2
struct menu *menu_create(const char *);
void menu_add_items(struct menu *, const struct menu_item *,
struct cmdq_item *, struct client *,