From: Julio B Date: Fri, 29 Aug 2025 16:25:50 +0000 (+0200) Subject: patch 9.1.1712: Screen not redrawn properly on t_RB response X-Git-Tag: v9.1.1712^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99af7690eb50b66bf9af44d0d71388dcdf26dfa9;p=thirdparty%2Fvim.git patch 9.1.1712: Screen not redrawn properly on t_RB response 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 Signed-off-by: Christian Brabandt --- diff --git a/src/term.c b/src/term.c index 88061e075a..829e566c6d 100644 --- a/src/term.c +++ b/src/term.c @@ -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; } diff --git a/src/version.c b/src/version.c index e0543a06a0..afe7c45b61 100644 --- a/src/version.c +++ b/src/version.c @@ -724,6 +724,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1712, /**/ 1711, /**/