From: Bram Moolenaar Date: Thu, 10 Oct 2019 14:36:00 +0000 (+0200) Subject: patch 8.1.2132: MS-Windows: screen mess when not recognizing insider build X-Git-Tag: v8.1.2132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a129974bc71fcb86e05a29387bcaba9aae2f296a;p=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) --- diff --git a/src/os_win32.c b/src/os_win32.c index ce035570d..9badbed41 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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); diff --git a/src/version.c b/src/version.c index 2dc9f9bf1..4e0af78a4 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2132, /**/ 2131, /**/