From: Hirohito Higashi Date: Sat, 7 Jun 2025 15:49:35 +0000 (+0200) Subject: patch 9.1.1436: GUI control code is displayed on the console on startup X-Git-Tag: v9.1.1436^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce2769b5fe4e036afeaaf47b2a1e7d919ecc20f3;p=thirdparty%2Fvim.git 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 --- 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();