Patch 8.2.0451
Problem: Win32: double-width character displayed incorrectly.
Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
closes #5848)
Files: src/os_win32.c
*** ../vim-8.2.0450/src/os_win32.c 2020-03-04 23:21:32.273078877 +0100
--- src/os_win32.c 2020-03-26 15:38:10.399614894 +0100
***************
*** 5821,5826 ****
--- 5821,5832 ----
if (!USE_VTP)
{
+ // There are reports of double-width characters not displayed
+ // correctly. This workaround should fix it, similar to how it's done
+ // for VTP.
+ g_coord.X = 0;
+ SetConsoleCursorPosition(g_hConOut, g_coord);
+
// external cursor coords are 1-based; internal are 0-based
g_coord.X = x - 1;
g_coord.Y = y - 1;
*** ../vim-8.2.0450/src/version.c 2020-03-26 14:11:52.903001238 +0100
--- src/version.c 2020-03-26 15:39:27.159324796 +0100
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 451,
/**/
--
Q: How does a UNIX Guru pick up a girl?
A: look; grep; which; eval; nice; uname; talk; date;
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///