mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +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:
@@ -145,6 +145,7 @@ EXTERN int vgetc_char INIT(= 0);
|
||||
EXTERN int cmdline_row;
|
||||
|
||||
EXTERN bool redraw_cmdline INIT(= false); // cmdline must be redrawn
|
||||
EXTERN bool redraw_mode INIT(= false); // mode must be redrawn
|
||||
EXTERN bool clear_cmdline INIT(= false); // cmdline must be cleared
|
||||
EXTERN bool mode_displayed INIT(= false); // mode is being displayed
|
||||
EXTERN int cmdline_star INIT(= false); // cmdline is encrypted
|
||||
|
Reference in New Issue
Block a user