diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-01 17:29:28 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-03 07:47:51 +0000 |
| commit | d440d5aa2c31e673e0b4fe5c8db41486ae706391 (patch) | |
| tree | 3b3b0b11b263ee59acd08638613045c1804e60b9 /osc.c | |
| parent | changelog: XTPUSHCOLORS, XTPOPCOLORS and XTREPORTCOLORS (diff) | |
osc: 10/11/12/17/19: don't apply overly much damage
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -772,6 +772,7 @@ osc_dispatch(struct terminal *term) switch (param) { case 10: term->colors.fg = color; + term_damage_view(term); break; case 11: @@ -785,6 +786,8 @@ osc_dispatch(struct terminal *term) term_font_subpixel_changed(term); } } + term_damage_view(term); + term_damage_margins(term); break; case 12: @@ -795,16 +798,16 @@ osc_dispatch(struct terminal *term) case 17: term->colors.selection_bg = color; term->colors.use_custom_selection = true; + term_damage_view(term); break; case 19: term->colors.selection_fg = color; term->colors.use_custom_selection = true; + term_damage_view(term); break; } - term_damage_view(term); - term_damage_margins(term); break; } |
