aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-01 17:29:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-03 07:47:51 +0000
commitdd58dad15ac0b298a25a7a3412240bfaaebe9998 (patch)
tree075e84e1f06a7120f1abb1292ba144b81cac894d
parentosc: 10/11/12/17/19: don't apply overly much damage (diff)
csi: redraw margins after restoring the palette
-rw-r--r--csi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 42f19a91..86117c7e 100644
--- a/csi.c
+++ b/csi.c
@@ -2101,6 +2101,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
/* TODO: we _could_ iterate all cells and only dirty
those that are affected by the palette change... */
term_damage_view(term);
+ term_damage_margins(term);
} else if (slot == 0) {
LOG_ERR("XTPOPCOLORS: cannot pop beyond the first element");
} else {