#ifdef HAS_MESSAGE_WINDOW
if (use_message_window())
{
- if (popup_message_win_visible() && msg_col > 0)
+ if (popup_message_win_visible() && msg_col > 0
+ && (msg_scroll || !full_screen))
{
win_T *wp = popup_get_message_win();
+ // start a new line
curbuf = wp->w_buffer;
ml_append(wp->w_buffer->b_ml.ml_line_count,
(char_u *)"", (colnr_T)0, FALSE);
call VerifyScreenDump(buf, 'Test_cmdheight_zero_3', {})
" Message for CTRL-C is in the popup window
- "call term_sendkeys(buf, ":call popup_clear()\<CR>")
call term_sendkeys(buf, "\<C-C>")
call VerifyScreenDump(buf, 'Test_cmdheight_zero_4', {})
+ " file write message is one line
+ call term_sendkeys(buf, ":w XsomeText\<CR>")
+ call VerifyScreenDump(buf, 'Test_cmdheight_zero_5', {})
+
" clean up
call StopVimInTerminal(buf)
call delete('XtestCmdheight')
+ call delete('XsomeText')
endfunc
func Test_cmdheight_zero_shell()