summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-28 12:06:21 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-28 12:06:21 +0100
commitb0509c542ed974cb388d49273d365ff2daf43159 (patch)
treebce4fb65d329cf42ef735f0a9c4b8827f39379b6 /src/ex_getln.c
parentd1f8fd59074d9c8b4d00ccdea77726a9195e0be4 (diff)
patch 9.0.0293: messages window not hidden when starting a command linev9.0.0293
Problem: Messages window not hidden when starting a command line. Solution: Hide the messages window. (closes #10996)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 587a9ff3df..1644de812a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1603,6 +1603,9 @@ getcmdline_int(
made_cmdheight_nonzero = TRUE;
lastwin->w_p_so = 0;
set_option_value((char_u *)"ch", 1L, NULL, 0);
+#ifdef HAS_MESSAGE_WINDOW
+ popup_hide_message_win();
+#endif
update_screen(UPD_VALID); // redraw the screen NOW
made_cmdheight_nonzero = FALSE;
lastwin->w_p_so = save_so;