]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1712: Screen not redrawn properly on t_RB response v9.1.1712
authorJulio B <julio.bacel@gmail.com>
Fri, 29 Aug 2025 16:25:50 +0000 (18:25 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 29 Aug 2025 16:25:50 +0000 (18:25 +0200)
Problem:  screen not redrawn properly on t_RB response (after v9.1.1703)
Solution: Call redraw_asap() if necessary (Julio B)

closes: #18149

Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/term.c
src/version.c

index 88061e075abf119610f570a97465dd46a9f3ee92..829e566c6dd7740023fddb9daf4aac29de0a4b4b 100644 (file)
@@ -5740,8 +5740,11 @@ handle_osc(char_u *tp, int len, char_u *key_name, int *slen)
 #ifdef FEAT_EVAL
            set_vim_var_string_direct(VV_TERMOSC, osc_state.buf.ga_data);
 #endif
+           char_u savebg = *p_bg;
            apply_autocmds(EVENT_TERMRESPONSEALL, (char_u *)"osc",
                    NULL, FALSE, curbuf);
+           if (*p_bg != savebg)
+               redraw_asap(UPD_CLEAR);
            return OK;
        }
 
index e0543a06a01bdbbd0ff856be94f8824ef7c1caed..afe7c45b61d9d5895462bff330bac1276f656387 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1712,
 /**/
     1711,
 /**/