commit | 4c5d815256099b50eca2ec5bf8f9aaa67a890211 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Oct 19 22:36:53 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Oct 19 22:36:53 2018 +0200 |
tree | 6d626537a4c82f86a43a90bec3fce98e54033949 | |
parent | 42a4ea10af687ca56b0810bfbb8884b37fc725b3 [diff] [blame] |
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 #3439) Add a menu test.
diff --git a/src/popupmnu.c b/src/popupmnu.c index 0f920dc..c481d4b 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c
@@ -1176,7 +1176,7 @@ 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; } }