diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-29 00:08:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-29 00:08:39 +0100 |
commit | 98d1069a9cc6f1b439be154aeae0ed32a598e855 (patch) | |
tree | 8db7ba49add42eb3d2f9657a1e142c61393e2695 | |
parent | 926218b5dad0dcdc273ccd92436a72f038d222c4 (diff) | |
download | vim-git-98d1069a9cc6f1b439be154aeae0ed32a598e855.tar.gz |
patch 9.0.0312: test for cmdheight zero failsv9.0.0312
Problem: Test for cmdheight zero fails.
Solution: Do not close the messages window for CTRL-C.
-rw-r--r-- | src/normal.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 12b611e17..926f50478 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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 diff --git a/src/version.c b/src/version.c index e6ecb9796..61793a927 100644 --- a/src/version.c +++ b/src/version.c @@ -708,6 +708,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 312, +/**/ 311, /**/ 310, |