0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-02-18 21:33:00 +01:00
parent 1fa8d2c33d
commit 9e2bcb5d23
5 changed files with 20 additions and 0 deletions

View File

@@ -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;