mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
vim-patch:9.0.2125: File info disappears when 'cmdheight' has decreased (#26180)
Problem: File info disappears immediately when 'cmdheight' has just
decreased due to switching tabpage and 'shortmess' doesn't
contain 'o' or 'O'.
Solution: Make sure msg_row isn't smaller than cmdline_row.
fixes: vim/vim#13560
closes: vim/vim#13561
40ed6711bd
This commit is contained in:
@@ -1395,7 +1395,11 @@ void msg_ext_set_kind(const char *msg_kind)
|
||||
/// Prepare for outputting characters in the command line.
|
||||
void msg_start(void)
|
||||
{
|
||||
int did_return = false;
|
||||
bool did_return = false;
|
||||
|
||||
if (msg_row < cmdline_row) {
|
||||
msg_row = cmdline_row;
|
||||
}
|
||||
|
||||
if (!msg_silent) {
|
||||
XFREE_CLEAR(keep_msg); // don't display old message now
|
||||
|
Reference in New Issue
Block a user