diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-15 16:17:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-15 16:17:44 +0000 |
commit | 0e1f36fc59b589e4755fd9102013971f45222084 (patch) | |
tree | 62b2d29afe6d9d62b75b218157d61f5453bc4efe /src/screen.c | |
parent | e88c6b7a5d8b24f8aa9a3e976b78654bae293ae4 (diff) | |
download | vim-git-0e1f36fc59b589e4755fd9102013971f45222084.tar.gz |
patch 8.2.4391: command line executed when typing Esc in the GUIv8.2.4391
Problem: Command line executed when typing Esc in the GUI.
Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
(closes #9783)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 9010090d7..adcc4b5ba 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 |