summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 2c7bd1fd2..6e469f49b 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1888,7 +1888,9 @@ vgetc(void)
}
#endif
#ifdef FEAT_PROP_POPUP
- if (!ex_normal_busy_done && popup_do_filter(c))
+ // Only filter keys that do not come from ":normal". Keys from feedkeys()
+ // are filtered.
+ if ((!ex_normal_busy || in_feedkeys) && popup_do_filter(c))
{
if (c == Ctrl_C)
got_int = FALSE; // avoid looping
@@ -3168,9 +3170,6 @@ vgetorpeek(int advance)
timedout = TRUE;
continue;
}
-#ifdef FEAT_PROP_POPUP
- ex_normal_busy_done = TRUE;
-#endif
// When 'insertmode' is set, ESC just beeps in Insert
// mode. Use CTRL-L to make edit() return.