Commit: patch 9.1.1436: GUI control code is displayed on the console on startup

2 views
Skip to first unread message

Christian Brabandt

unread,
Jun 7, 2025, 12:00:14 PM6/7/25
to vim...@googlegroups.com
patch 9.1.1436: GUI control code is displayed on the console on startup

Commit: https://github.com/vim/vim/commit/ce2769b5fe4e036afeaaf47b2a1e7d919ecc20f3
Author: Hirohito Higashi <h.eas...@gmail.com>
Date: Sat Jun 7 17:49:35 2025 +0200

patch 9.1.1436: GUI control code is displayed on the console on startup

Problem: GUI control code is displayed on the console on startup
Solution: check if Vim is starting up (Hirohito Higashi)

closes: #17456

Signed-off-by: Hirohito Higashi <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/version.c b/src/version.c
index 0117df0b6..31f1854d5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1436,
/**/
1435,
/**/
diff --git a/src/window.c b/src/window.c
index 46e1b63a8..bb116382a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6227,7 +6227,7 @@ shell_new_columns(void)
if (!skip_win_fix_scroll)
win_fix_scroll(TRUE);
#ifdef FEAT_GUI
- if (gui.in_use)
+ if (gui.in_use && !gui.starting)
{
if (scroll_region)
scroll_region_reset();
Reply all
Reply to author
Forward
0 new messages