diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-05 21:06:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-05 21:06:23 +0100 |
commit | 29a2c08d792e4458a0af8371f5341394829fce29 (patch) | |
tree | 1b02aeac272844df0c3749454697dbf5a63f33cc /src/proto | |
parent | 28ada699c13833219acaeb7e768acc2acae50e02 (diff) | |
download | vim-git-29a2c08d792e4458a0af8371f5341394829fce29.tar.gz |
patch 8.0.1570: can't use :popup for a menu in the terminalv8.0.1570
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
Solution: Make :popup work in the terminal. Also fix that entries were
included that don't work in the current state.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/menu.pro | 1 | ||||
-rw-r--r-- | src/proto/popupmnu.pro | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/menu.pro b/src/proto/menu.pro index 4c8e710d8..63f8d11bd 100644 --- a/src/proto/menu.pro +++ b/src/proto/menu.pro @@ -12,6 +12,7 @@ int menu_is_popup(char_u *name); int menu_is_child_of_popup(vimmenu_T *menu); int menu_is_toolbar(char_u *name); int menu_is_separator(char_u *name); +int get_menu_mode_flag(void); void show_popupmenu(void); int check_menu_pointer(vimmenu_T *root, vimmenu_T *menu_to_check); void gui_create_initial_menus(vimmenu_T *menu); diff --git a/src/proto/popupmnu.pro b/src/proto/popupmnu.pro index d2f6baf46..8fd4ac90f 100644 --- a/src/proto/popupmnu.pro +++ b/src/proto/popupmnu.pro @@ -10,4 +10,5 @@ void ui_remove_balloon(void); void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); void pum_show_popupmenu(vimmenu_T *menu); +void pum_make_popup(char_u *path_name, int mouse_pos); /* vim: set ft=c : */ |