1
0
forked from aniani/vim

patch 8.1.2132: MS-Windows: screen mess when not recognizing insider build

Problem:    MS-Windows: screen mess when not recognizing insider build.
Solution:   Always move the cursor to the first column first. (Nobuhiro
            Takasaki, closes #5036)
This commit is contained in:
Bram Moolenaar
2019-10-10 16:36:00 +02:00
parent c25e702dee
commit a129974bc7
2 changed files with 5 additions and 3 deletions

View File

@@ -5868,9 +5868,9 @@ gotoxy(
else
{
// Move the cursor to the left edge of the screen to prevent screen
// destruction. Insider build bug.
if (conpty_type == 3)
vtp_printf("\033[%d;%dH", g_coord.Y + 1, 1);
// destruction. Insider build bug. Always enabled because it's cheap
// and avoids mistakes with recognizing the build.
vtp_printf("\033[%d;%dH", g_coord.Y + 1, 1);
vtp_printf("\033[%d;%dH", y, x);

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2132,
/**/
2131,
/**/