To: vim_dev@googlegroups.com Subject: Patch 8.1.2132 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.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) Files: src/os_win32.c *** ../vim-8.1.2131/src/os_win32.c 2019-10-05 12:09:21.258785431 +0200 --- src/os_win32.c 2019-10-10 16:34:04.981403139 +0200 *************** *** 5868,5876 **** 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); vtp_printf("\033[%d;%dH", y, x); --- 5868,5876 ---- else { // Move the cursor to the left edge of the screen to prevent screen ! // 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); *** ../vim-8.1.2131/src/version.c 2019-10-10 14:08:23.433080875 +0200 --- src/version.c 2019-10-10 16:35:27.989053591 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 2132, /**/ -- VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur and his knights seemed hopeless, when, suddenly ... the animator suffered a fatal heart attack. ANIMATOR: Aaaaagh! VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could continue. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///