comparison src/getchar.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 2ef19eed524a
children 5eb0ead1415f
comparison
equal deleted inserted replaced
19432:686bc965b4b4 19433:af9d5585cfbf
3039 else 3039 else
3040 c = ESC; 3040 c = ESC;
3041 #ifdef FEAT_CMDWIN 3041 #ifdef FEAT_CMDWIN
3042 tc = c; 3042 tc = c;
3043 #endif 3043 #endif
3044 // return from main_loop()
3045 if (pending_exmode_active)
3046 exmode_active = EXMODE_NORMAL;
3047
3044 break; 3048 break;
3045 } 3049 }
3046 3050
3047 /* 3051 /*
3048 * get a character: 3. from the user - update display 3052 * get a character: 3. from the user - update display