diff options
author | Ernie Rael <errael@raelity.com> | 2024-07-19 16:37:09 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-07-19 16:37:39 +0200 |
commit | b14c325a5b0f966f65d625997c4393221e261010 (patch) | |
tree | d83c87be70ea3af712afca76c23936597f512a4f | |
parent | d2cedc2db32d513343d162e319e644855dc2b255 (diff) |
patch 9.1.0604: popup_filter during Press Enter prompt seems to hangv9.1.0604
Problem: popup_filter during Press Enter prompt seems to hang
Solution: Return early, when need_wait_return is set
(Ernie Rael)
fixes: #15300
closes: #15301
Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | src/popupwin.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index 9d60aa22ae..0ff57fb4b1 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -2651,6 +2651,8 @@ f_popup_filter_yesno(typval_T *argvars, typval_T *rettv) return; c = *key; + if (c == CAR && need_wait_return) + return; if (c == K_SPECIAL && key[1] != NUL) c = TO_SPECIAL(key[1], key[2]); diff --git a/src/version.c b/src/version.c index 4ca8e3f88a..e00d6c8295 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 604, +/**/ 603, /**/ 602, |