# HG changeset patch # User Bram Moolenaar # Date 1661728502 -7200 # Node ID 29e4cd9e66de9527307b796bc81e78cc4d716019 # Parent 85fe535ba7fff5e45f7491998868a4c56c19c2e2 patch 9.0.0312: test for cmdheight zero fails Commit: https://github.com/vim/vim/commit/98d1069a9cc6f1b439be154aeae0ed32a598e855 Author: Bram Moolenaar 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. diff --git a/src/normal.c b/src/normal.c --- 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 --- 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,