patch 9.1.1712: Screen not redrawn properly on t_RB response
Commit:
https://github.com/vim/vim/commit/99af7690eb50b66bf9af44d0d71388dcdf26dfa9
Author: Julio B <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1us1zK-009XHw-TK%40256bit.org.