Skip to content

Commit b14c325

Browse files
erraelchrisbra
authored andcommitted
patch 9.1.0604: popup_filter during Press Enter prompt seems to hang
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 <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent d2cedc2 commit b14c325

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/popupwin.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,6 +2651,8 @@ f_popup_filter_yesno(typval_T *argvars, typval_T *rettv)
26512651
return;
26522652

26532653
c = *key;
2654+
if (c == CAR && need_wait_return)
2655+
return;
26542656
if (c == K_SPECIAL && key[1] != NUL)
26552657
c = TO_SPECIAL(key[1], key[2]);
26562658

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
604,
707709
/**/
708710
603,
709711
/**/

0 commit comments

Comments
 (0)