diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-19 22:36:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-19 22:36:53 +0200 |
commit | 4c5d815256099b50eca2ec5bf8f9aaa67a890211 (patch) | |
tree | 6d626537a4c82f86a43a90bec3fce98e54033949 /src/structs.h | |
parent | 42a4ea10af687ca56b0810bfbb8884b37fc725b3 (diff) |
patch 8.1.0487: no menus specifically for the terminal windowv8.1.0487
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index 560ce42b41..a0c06b5f25 100644 --- a/src/structs.h +++ b/src/structs.h @@ -3101,8 +3101,9 @@ typedef struct cursor_entry #define MENU_INDEX_OP_PENDING 3 #define MENU_INDEX_INSERT 4 #define MENU_INDEX_CMDLINE 5 -#define MENU_INDEX_TIP 6 -#define MENU_MODES 7 +#define MENU_INDEX_TERMINAL 6 +#define MENU_INDEX_TIP 7 +#define MENU_MODES 8 /* Menu modes */ #define MENU_NORMAL_MODE (1 << MENU_INDEX_NORMAL) @@ -3111,6 +3112,7 @@ typedef struct cursor_entry #define MENU_OP_PENDING_MODE (1 << MENU_INDEX_OP_PENDING) #define MENU_INSERT_MODE (1 << MENU_INDEX_INSERT) #define MENU_CMDLINE_MODE (1 << MENU_INDEX_CMDLINE) +#define MENU_TERMINAL_MODE (1 << MENU_INDEX_TERMINAL) #define MENU_TIP_MODE (1 << MENU_INDEX_TIP) #define MENU_ALL_MODES ((1 << MENU_INDEX_TIP) - 1) /*note MENU_INDEX_TIP is not a 'real' mode*/ |