patch 9.1.0604: popup_filter during Press Enter prompt seems to hang

Commit: 
https://github.com/vim/vim/commit/b14c325a5b0f966f65d625997c4393221e261010
Author: Ernie Rael <err...@raelity.com>
Date:   Fri Jul 19 16:37:09 2024 +0200

    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 <err...@raelity.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/popupwin.c b/src/popupwin.c
index 9d60aa22a..0ff57fb4b 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 4ca8e3f88..e00d6c829 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    604,
 /**/
     603,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1sUorY-00EHjH-Oo%40256bit.org.

Raspunde prin e-mail lui