mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
This commit is contained in:
@@ -2610,7 +2610,13 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
++ex_normal_busy;
|
||||
exec_normal(TRUE, lowlevel, TRUE);
|
||||
if (!dangerous)
|
||||
{
|
||||
--ex_normal_busy;
|
||||
#ifdef FEAT_PROP_POPUP
|
||||
if (ex_normal_busy == 0)
|
||||
ex_normal_busy_done = FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
msg_scroll |= save_msg_scroll;
|
||||
}
|
||||
|
Reference in New Issue
Block a user