mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:9.0.1635: error message is cleared when removing mode message
Problem: Error message is cleared when removing mode message.
Solution: Also reset flags when the message is further down.
da51ad51bf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1562,7 +1562,7 @@ int msg_outtrans_len_attr(const char *msgstr, int len, int attr)
|
||||
|
||||
// When drawing over the command line no need to clear it later or remove
|
||||
// the mode message.
|
||||
if (msg_row == cmdline_row && msg_col == 0) {
|
||||
if (msg_row >= cmdline_row && msg_col == 0) {
|
||||
clear_cmdline = false;
|
||||
mode_displayed = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user