changeset 29948:29e4cd9e66de v9.0.0312

patch 9.0.0312: test for cmdheight zero fails Commit: https://github.com/vim/vim/commit/98d1069a9cc6f1b439be154aeae0ed32a598e855 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 29 00:08:39 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Aug 2022 01:15:02 +0200
parents 85fe535ba7ff
children 7553830b0994
files src/normal.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,