mirror of
https://github.com/vim/vim.git
synced 2025-09-07 22:03:36 -04:00
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.bacel@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
8843cb2b3b
commit
99af7690eb
@ -5740,8 +5740,11 @@ handle_osc(char_u *tp, int len, char_u *key_name, int *slen)
|
|||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
set_vim_var_string_direct(VV_TERMOSC, osc_state.buf.ga_data);
|
set_vim_var_string_direct(VV_TERMOSC, osc_state.buf.ga_data);
|
||||||
#endif
|
#endif
|
||||||
|
char_u savebg = *p_bg;
|
||||||
apply_autocmds(EVENT_TERMRESPONSEALL, (char_u *)"osc",
|
apply_autocmds(EVENT_TERMRESPONSEALL, (char_u *)"osc",
|
||||||
NULL, FALSE, curbuf);
|
NULL, FALSE, curbuf);
|
||||||
|
if (*p_bg != savebg)
|
||||||
|
redraw_asap(UPD_CLEAR);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -724,6 +724,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1712,
|
||||||
/**/
|
/**/
|
||||||
1711,
|
1711,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user