1
0
forked from aniani/vim

patch 9.0.0076: no test for what patch 8.1.1424 fixes

Problem:    No test for what patch 8.1.1424 fixes.
Solution:   Add a test. (closes #10789)
This commit is contained in:
zeertzjq
2022-07-26 12:24:41 +01:00
committed by Bram Moolenaar
parent be3dbda871
commit 92a1678d48
3 changed files with 23 additions and 2 deletions

View File

@@ -1549,8 +1549,8 @@ pum_show_popupmenu(vimmenu_T *menu)
c = vgetc();
// Bail out when typing Esc, CTRL-C or some callback closed the popup
// menu.
// Bail out when typing Esc, CTRL-C or some callback or <expr> mapping
// closed the popup menu.
if (c == ESC || c == Ctrl_C || pum_array == NULL)
break;
else if (c == CAR || c == NL)