diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-29 17:38:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-29 17:38:56 +0000 |
| commit | 70f12741716757631810dc52ffa5d7fab8efbaaf (patch) | |
| tree | 2b3420dce520faecf5ce72d1d410237028e4b2ca /terminal.c | |
| parent | Merge branch 'allow-mouse-binding-click-count-less-than' into master (diff) | |
| parent | changelog: fixed color flashes with OSC 4,10,11 (diff) | |
Merge branch 'osc4-refresh-scheduling' into master
Closes #141
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1627,6 +1627,19 @@ term_damage_view(struct terminal *term) } void +term_damage_cursor(struct terminal *term) +{ + term->grid->cur_row->cells[term->grid->cursor.point.col].attrs.clean = 0; + term->grid->cur_row->dirty = true; +} + +void +term_damage_margins(struct terminal *term) +{ + term->render.margins = true; +} + +void term_damage_scroll(struct terminal *term, enum damage_type damage_type, struct scroll_region region, int lines) { |
