Mercurial > vim
changeset 18275:5218e26c658f v8.1.2132
patch 8.1.2132: MS-Windows: screen mess when not recognizing insider build
Commit: https://github.com/vim/vim/commit/a129974bc71fcb86e05a29387bcaba9aae2f296a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 10 16:36:00 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Oct 2019 16:45:03 +0200 |
parents | f4cec6d77c86 |
children | 79b045ead26e |
files | src/os_win32.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);