mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
Merge pull request #18314 from tk-shirasaka/global-statusline-on-ext_messages
fix: display global statusline correctly with ext_messages
This commit is contained in:
@@ -5490,7 +5490,7 @@ void win_setheight_win(int height, win_T *win)
|
||||
}
|
||||
}
|
||||
cmdline_row = row;
|
||||
p_ch = MAX(Rows - cmdline_row, 1);
|
||||
p_ch = MAX(Rows - cmdline_row, ui_has(kUIMessages) ? 0 : 1);
|
||||
curtab->tp_ch_used = p_ch;
|
||||
msg_row = row;
|
||||
msg_col = 0;
|
||||
@@ -5998,10 +5998,7 @@ void win_drag_status_line(win_T *dragwin, int offset)
|
||||
clear_cmdline = true;
|
||||
}
|
||||
cmdline_row = row;
|
||||
p_ch = Rows - cmdline_row;
|
||||
if (p_ch < 1) {
|
||||
p_ch = 1;
|
||||
}
|
||||
p_ch = MAX(Rows - cmdline_row, ui_has(kUIMessages) ? 0 : 1);
|
||||
curtab->tp_ch_used = p_ch;
|
||||
redraw_all_later(SOME_VALID);
|
||||
showmode();
|
||||
|
Reference in New Issue
Block a user