mirror of
https://github.com/neovim/neovim.git
synced 2025-12-02 06:53:05 +00:00
vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped Esc
Problem: Mode is not cleared when leaving Insert mode with mapped Esc.
Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269)
4c25bd785a
This commit is contained in:
@@ -8062,8 +8062,8 @@ static void ex_redraw(exarg_T *eap)
|
||||
RedrawingDisabled = r;
|
||||
p_lz = p;
|
||||
|
||||
/* Reset msg_didout, so that a message that's there is overwritten. */
|
||||
msg_didout = FALSE;
|
||||
// Reset msg_didout, so that a message that's there is overwritten.
|
||||
msg_didout = false;
|
||||
msg_col = 0;
|
||||
|
||||
/* No need to wait after an intentional redraw. */
|
||||
|
||||
Reference in New Issue
Block a user