patch 9.1.1712: Screen not redrawn properly on t_RB response
Commit:
https://github.com/vim/vim/commit/99af7690eb50b66bf9af44d0d71388dcdf26dfa9
Author: Julio B <
julio...@gmail.com>
Date: Fri Aug 29 18:25:50 2025 +0200
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 <
julio...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/term.c b/src/term.c
index 88061e075..829e566c6 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 e0543a06a..afe7c45b6 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,
/**/