Mercurial > vim
diff src/ex_getln.c @ 29910:24fd6fbcd0c0 v9.0.0293
patch 9.0.0293: messages window not hidden when starting a command line
Commit: https://github.com/vim/vim/commit/b0509c542ed974cb388d49273d365ff2daf43159
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 12:06:21 2022 +0100
patch 9.0.0293: messages window not hidden when starting a command line
Problem: Messages window not hidden when starting a command line.
Solution: Hide the messages window. (closes https://github.com/vim/vim/issues/10996)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Aug 2022 13:15:05 +0200 |
parents | d8fc1effa724 |
children | b366b19d1a3e |
line wrap: on
line diff
--- 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;