0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0312: test for cmdheight zero fails

Problem:    Test for cmdheight zero fails.
Solution:   Do not close the messages window for CTRL-C.
This commit is contained in:
Bram Moolenaar
2022-08-29 00:08:39 +01:00
parent 926218b5da
commit 98d1069a9c
2 changed files with 3 additions and 1 deletions

View File

@@ -6822,7 +6822,7 @@ nv_esc(cmdarg_T *cap)
else if (no_reason)
{
#ifdef HAS_MESSAGE_WINDOW
if (popup_message_win_visible())
if (!cap->arg && popup_message_win_visible())
popup_hide_message_win();
else
#endif