Patch 8.2.4392

5 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 15, 2022, 12:17:52 PM2/15/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages