0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0

Problem:    :echomsg doesn't work properly with cmdheight=0.
Solution:   Improve scrolling and displaying.
This commit is contained in:
Bram Moolenaar
2022-08-28 21:36:43 +01:00
parent f2fb54f641
commit 134b86553c
7 changed files with 54 additions and 3 deletions

View File

@@ -6824,7 +6824,18 @@ ex_execute(exarg_T *eap)
if (eap->skip)
--emsg_skip;
#ifdef HAS_MESSAGE_WINDOW
if (use_message_window() && eap->cmdidx != CMD_execute)
{
// show the message window now
ex_redraw(eap);
// do not overwrite messages
msg_didout = TRUE;
if (msg_col == 0)
msg_col = 1;
}
#endif
set_nextcmd(eap, arg);
}