diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/popupmnu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c index 515fecb036..087e9bb041 100644 --- a/src/nvim/popupmnu.c +++ b/src/nvim/popupmnu.c @@ -1036,7 +1036,7 @@ void pum_show_popupmenu(vimmenu_T *menu) ui_flush(); int c = vgetc(); - if (c == ESC) { + if (c == ESC || c == Ctrl_C) { break; } else if (c == CAR || c == NL) { // enter: select current item, if any, and close |