aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:06:03 +0000
committernicm <nicm>2020-05-16 15:06:03 +0000
commit80e52545a0cccba20fb4d96ed09ea2c129a30c93 (patch)
tree3998b7e13ca5b73e34e9e60f53c8d54e091ab5d7 /tmux.h
parentf03b61131b3407929fea187a309fb336017791d1 (diff)
downloadrtmux-80e52545a0cccba20fb4d96ed09ea2c129a30c93.tar.gz
rtmux-80e52545a0cccba20fb4d96ed09ea2c129a30c93.tar.bz2
rtmux-80e52545a0cccba20fb4d96ed09ea2c129a30c93.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.
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 2e978813..486b8b4c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2796,6 +2796,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 *,