mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
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 <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d2cedc2db3
commit
b14c325a5b
@@ -2651,6 +2651,8 @@ f_popup_filter_yesno(typval_T *argvars, typval_T *rettv)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
c = *key;
|
c = *key;
|
||||||
|
if (c == CAR && need_wait_return)
|
||||||
|
return;
|
||||||
if (c == K_SPECIAL && key[1] != NUL)
|
if (c == K_SPECIAL && key[1] != NUL)
|
||||||
c = TO_SPECIAL(key[1], key[2]);
|
c = TO_SPECIAL(key[1], key[2]);
|
||||||
|
|
||||||
|
|||||||
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
604,
|
||||||
/**/
|
/**/
|
||||||
603,
|
603,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user