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,9 +5868,9 @@ gotoxy(
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Move the cursor to the left edge of the screen to prevent screen
|
// Move the cursor to the left edge of the screen to prevent screen
|
||||||
// destruction. Insider build bug.
|
// destruction. Insider build bug. Always enabled because it's cheap
|
||||||
if (conpty_type == 3)
|
// and avoids mistakes with recognizing the build.
|
||||||
vtp_printf("\033[%d;%dH", g_coord.Y + 1, 1);
|
vtp_printf("\033[%d;%dH", g_coord.Y + 1, 1);
|
||||||
|
|
||||||
vtp_printf("\033[%d;%dH", y, x);
|
vtp_printf("\033[%d;%dH", y, x);
|
||||||
|
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2132,
|
||||||
/**/
|
/**/
|
||||||
2131,
|
2131,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user