forked from aniani/vim
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:
@@ -3041,6 +3041,10 @@ vgetorpeek(int advance)
|
||||
#ifdef FEAT_CMDWIN
|
||||
tc = c;
|
||||
#endif
|
||||
// return from main_loop()
|
||||
if (pending_exmode_active)
|
||||
exmode_active = EXMODE_NORMAL;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user