commit | 9e2bcb5d23138d45a0b6f9c1542b5facc807efe7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 18 21:33:00 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 18 21:33:00 2020 +0100 |
tree | a235c3311892fd24aafa6137c36d41e71b9b1640 | |
parent | 1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd [diff] [blame] |
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global Problem: Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) Solution: Add the pending_exmode_active flag.
diff --git a/src/getchar.c b/src/getchar.c index d056bcc..b828c27 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -3041,6 +3041,10 @@ #ifdef FEAT_CMDWIN tc = c; #endif + // return from main_loop() + if (pending_exmode_active) + exmode_active = EXMODE_NORMAL; + break; }