summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-10 16:36:00 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-10 16:36:00 +0200
commita129974bc71fcb86e05a29387bcaba9aae2f296a (patch)
tree0a7bc2156831ee5a13c42cd747aa5de05b550b6d /src/os_win32.c
parentc25e702deec74771e49f6c2df4cda7a1f97d0c1e (diff)
downloadvim-git-a129974bc71fcb86e05a29387bcaba9aae2f296a.tar.gz
patch 8.1.2132: MS-Windows: screen mess when not recognizing insider buildv8.1.2132
Problem: MS-Windows: screen mess when not recognizing insider build. Solution: Always move the cursor to the first column first. (Nobuhiro Takasaki, closes #5036)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c6
1 files changed, 3 insertions, 3 deletions
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);