Patch 8.2.4392 (after 8.2.4002)
Problem:    MS-Windows with VIMDLL: Escaping CSI is wrong.
Solution:   Put back #ifdef. (Ken Takata, closes #9769)
Files:      src/getchar.c


*** ../vim-8.2.4391/src/getchar.c       2022-02-10 14:03:56.030129442 +0000
--- src/getchar.c       2022-02-15 17:15:42.241753079 +0000
***************
*** 3671,3677 ****
            p += 2;
            i -= 2;
        }
!       // When the GUI is not used CSI needs to be escaped.
        else if (!gui.in_use && p[0] == CSI)
        {
            mch_memmove(p + 3, p + 1, (size_t)i);
--- 3671,3679 ----
            p += 2;
            i -= 2;
        }
! # ifndef MSWIN
!       // When not on MS-Windows and the GUI is not used CSI needs to be
!       // escaped.
        else if (!gui.in_use && p[0] == CSI)
        {
            mch_memmove(p + 3, p + 1, (size_t)i);
***************
*** 3680,3685 ****
--- 3682,3688 ----
            *p = (int)KE_CSI;
            len += 2;
        }
+ # endif
        else
  #endif
        if (p[0] == NUL || (p[0] == K_SPECIAL
*** ../vim-8.2.4391/src/version.c       2022-02-15 16:17:39.496253454 +0000
--- src/version.c       2022-02-15 17:15:52.749729473 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4392,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
45. You buy a Captain Kirk chair with a built-in keyboard and mouse.

 /// 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/20220215171747.79D001C0DFF%40moolenaar.net.

Raspunde prin e-mail lui