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:
@@ -5868,8 +5868,8 @@ gotoxy(
|
||||
else
|
||||
{
|
||||
// Move the cursor to the left edge of the screen to prevent screen
|
||||
// destruction. Insider build bug.
|
||||
if (conpty_type == 3)
|
||||
// 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);
|
||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2132,
|
||||
/**/
|
||||
2131,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user