Mercurial > vim
diff src/structs.h @ 14952:405309f9dd13 v8.1.0487
patch 8.1.0487: no menus specifically for the terminal window
commit https://github.com/vim/vim/commit/4c5d815256099b50eca2ec5bf8f9aaa67a890211
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 19 22:36:53 2018 +0200
patch 8.1.0487: no menus specifically for the terminal window
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/3439) Add a menu test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Oct 2018 22:45:07 +0200 |
parents | 9c030bc201a6 |
children | 67e3103d6e18 |
line wrap: on
line diff
--- 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*/