comparison 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
comparison
equal deleted inserted replaced
19432:686bc965b4b4 19433:af9d5585cfbf
6183 msg_scroll = 0; 6183 msg_scroll = 0;
6184 #ifdef FEAT_GUI 6184 #ifdef FEAT_GUI
6185 hold_gui_events = 0; 6185 hold_gui_events = 0;
6186 #endif 6186 #endif
6187 must_redraw = CLEAR; 6187 must_redraw = CLEAR;
6188 pending_exmode_active = TRUE;
6188 6189
6189 main_loop(FALSE, TRUE); 6190 main_loop(FALSE, TRUE);
6190 6191
6192 pending_exmode_active = FALSE;
6191 RedrawingDisabled = rd; 6193 RedrawingDisabled = rd;
6192 no_wait_return = nwr; 6194 no_wait_return = nwr;
6193 msg_scroll = ms; 6195 msg_scroll = ms;
6194 #ifdef FEAT_GUI 6196 #ifdef FEAT_GUI
6195 hold_gui_events = he; 6197 hold_gui_events = he;