diff src/ex_docmd.c @ 19433:af9d5585cfbf v8.2.0274

patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global Commit: https://github.com/vim/vim/commit/9e2bcb5d23138d45a0b6f9c1542b5facc807efe7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 18 21:33:00 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Feb 2020 21:45:04 +0100
parents 90e24240904b
children 5512aa74cb62
line wrap: on
line diff
--- 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;