mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(messages): validate msg_grid before silent! message with cmdheight=0
fixes #20316
This commit is contained in:
@@ -1401,6 +1401,7 @@ void msg_start(void)
|
||||
|
||||
if (!msg_scroll && full_screen) { // overwrite last message
|
||||
if (cmdline_row >= Rows && !ui_has(kUIMessages)) {
|
||||
msg_grid_validate();
|
||||
msg_scroll_up(false, true);
|
||||
msg_scrolled++;
|
||||
cmdline_row = Rows - 1;
|
||||
|
Reference in New Issue
Block a user