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 -- [email protected] -- 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    ///

-- 
-- 
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/202003261440.02QEeb3S027205%40masaka.moolenaar.net.

Raspunde prin e-mail lui