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:
11
src/eval.c
11
src/eval.c
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user