summaryrefslogtreecommitdiff
path: root/src/popupmnu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-19 22:36:53 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-19 22:36:53 +0200
commit4c5d815256099b50eca2ec5bf8f9aaa67a890211 (patch)
tree6d626537a4c82f86a43a90bec3fce98e54033949 /src/popupmnu.c
parent42a4ea10af687ca56b0810bfbb8884b37fc725b3 (diff)
downloadvim-git-4c5d815256099b50eca2ec5bf8f9aaa67a890211.tar.gz
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/popupmnu.c')
-rw-r--r--src/popupmnu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c
index 0f920dc69..c481d4be7 100644
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -1176,7 +1176,7 @@ pum_execute_menu(vimmenu_T *menu, int mode)
if ((mp->modes & mp->enabled & mode) && idx++ == pum_selected)
{
vim_memset(&ea, 0, sizeof(ea));
- execute_menu(&ea, mp);
+ execute_menu(&ea, mp, -1);
break;
}
}