mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.2.4391: command line executed when typing Esc in the GUI
Problem: Command line executed when typing Esc in the GUI. Solution: Move saving/restoring KeyTyped to build_stl_str_hl(). (closes #9783)
This commit is contained in:
@@ -1235,7 +1235,6 @@ win_redr_custom(
|
||||
int use_sandbox = FALSE;
|
||||
win_T *ewp;
|
||||
int p_crb_save;
|
||||
int save_KeyTyped = KeyTyped;
|
||||
|
||||
// There is a tiny chance that this gets called recursively: When
|
||||
// redrawing a status line triggers redrawing the ruler or tabline.
|
||||
@@ -1395,9 +1394,6 @@ win_redr_custom(
|
||||
|
||||
theend:
|
||||
entered = FALSE;
|
||||
|
||||
// A user function may reset KeyTyped, restore it.
|
||||
KeyTyped = save_KeyTyped;
|
||||
}
|
||||
|
||||
#endif // FEAT_STL_OPT
|
||||
|
Reference in New Issue
Block a user