From ce2769b5fe4e036afeaaf47b2a1e7d919ecc20f3 Mon Sep 17 00:00:00 2001 From: Hirohito Higashi Date: Sat, 7 Jun 2025 17:49:35 +0200 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- src/version.c | 2 ++ src/window.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/version.c b/src/version.c index 0117df0b68..31f1854d5a 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 46e1b63a8a..bb116382a7 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();