patch 9.0.2125: File info disappears when 'cmdheight' has decreased
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: #13560
closes: #13561
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
2b0882fa65
commit
40ed6711bd
@ -1446,6 +1446,9 @@ msg_start(void)
|
||||
{
|
||||
int did_return = FALSE;
|
||||
|
||||
if (msg_row < cmdline_row)
|
||||
msg_row = cmdline_row;
|
||||
|
||||
if (!msg_silent)
|
||||
{
|
||||
VIM_CLEAR(keep_msg);
|
||||
|
||||
Reference in New Issue
Block a user