Patch 9.0.0293
Problem: Messages window not hidden when starting a command line.
Solution: Hide the messages window. (closes #10996)
Files: src/ex_getln.c, src/testdir/test_messages.vim
*** ../vim-9.0.0292/src/ex_getln.c 2022-08-27 12:22:19.975008573 +0100
--- src/ex_getln.c 2022-08-27 16:13:26.263643546 +0100
***************
*** 1603,1608 ****
--- 1603,1611 ----
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;
*** ../vim-9.0.0292/src/testdir/test_messages.vim 2022-08-27 22:51:19.998209539 +0100
--- src/testdir/test_messages.vim 2022-08-28 12:01:06.296337685 +0100
***************
*** 398,403 ****
--- 398,408 ----
if using_popupwin
redraw
call assert_equal('test echo', Screenline(&lines))
+
+ " check that the popup is cleared when entering a command line
+ call feedkeys(':', 'xt')
+ redraw
+ call assert_equal('~', Screenline(&lines))
else
call assert_equal(116, screenchar(&lines, 1))
endif
*** ../vim-9.0.0292/src/version.c 2022-08-27 22:51:19.998209539 +0100
--- src/version.c 2022-08-28 12:05:29.572297157 +0100
***************
*** 709,710 ****
--- 709,712 ----
{ /* Add new patch number below this line */
+ /**/
+ 293,
/**/
--
BEDEVERE: Stand by for attack!!
[CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege
towers, pennants flying, shouts of "Stand by for attack!" Traditional
army build-up shots. The shouts echo across the ranks of the army.
We see various groups reacting, and stirring themselves in readiness.]
ARTHUR: Who are they?
BEDEVERE: Oh, just some friends!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///