summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-18 21:33:00 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-18 21:33:00 +0100
commit9e2bcb5d23138d45a0b6f9c1542b5facc807efe7 (patch)
treea235c3311892fd24aafa6137c36d41e71b9b1640 /src/ex_docmd.c
parent1fa8d2c33d7290eda7dc2a94d4ec6a599a2d61dd (diff)
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :globalv8.2.0274
Problem: Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) Solution: Add the pending_exmode_active flag.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index a819f64888..b78e5ac666 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -6185,9 +6185,11 @@ do_exedit(
hold_gui_events = 0;
#endif
must_redraw = CLEAR;
+ pending_exmode_active = TRUE;
main_loop(FALSE, TRUE);
+ pending_exmode_active = FALSE;
RedrawingDisabled = rd;
no_wait_return = nwr;
msg_scroll = ms;