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.east....@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.east....@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();

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uNvxl-005gVa-VH%40256bit.org.

Raspunde prin e-mail lui