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, /**/