Patch 8.2.3738
Problem:    Screen is cleared when a FocusLost autocommand triggers.
Solution:   Do not redraw when at the hit-enter or more prompt. (closes #9274)
Files:      src/misc1.c


*** ../vim-8.2.3737/src/misc1.c 2021-11-17 15:51:46.421992164 +0000
--- src/misc1.c 2021-12-04 17:18:39.315603150 +0000
***************
*** 852,858 ****
  
        if (n == KEYLEN_REMOVED)  // key code removed
        {
!           if (must_redraw != 0 && !need_wait_return && (State & CMDLINE) == 0)
            {
                // Redrawing was postponed, do it now.
                update_screen(0);
--- 852,859 ----
  
        if (n == KEYLEN_REMOVED)  // key code removed
        {
!           if (must_redraw != 0 && !need_wait_return
!                                && (State & (CMDLINE|HITRETURN|ASKMORE)) == 0)
            {
                // Redrawing was postponed, do it now.
                update_screen(0);
*** ../vim-8.2.3737/src/version.c       2021-12-04 15:12:36.957739980 +0000
--- src/version.c       2021-12-04 17:20:15.247458971 +0000
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     3738,
  /**/

-- 
Engineers will go without food and hygiene for days to solve a problem.
(Other times just because they forgot.)
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211204172100.678B21C0BCC%40moolenaar.net.

Raspunde prin e-mail lui