Patch 8.2.4394 (after 8.2.4392)
Problem: UTF8 select mode test fails on MS-Windows.
Solution: Revert the #ifdef change.
Files: src/getchar.c
*** ../vim-8.2.4393/src/getchar.c 2022-02-15 17:17:13.789550341 +0000
--- src/getchar.c 2022-02-15 19:50:01.607022262 +0000
***************
*** 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);
--- 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);
***************
*** 3682,3688 ****
*p = (int)KE_CSI;
len += 2;
}
- # endif
else
#endif
if (p[0] == NUL || (p[0] == K_SPECIAL
--- 3680,3685 ----
*** ../vim-8.2.4393/src/version.c 2022-02-15 19:15:19.014817074 +0000
--- src/version.c 2022-02-15 19:50:32.890967613 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4394,
/**/
--
hundred-and-one symptoms of being an internet addict:
47. You are so familiar with the WWW that you find the search engines useless.
/// 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 ///