term: remove unusued 'damage' list

This commit is contained in:
Daniel Eklöf 2020-08-04 18:07:22 +02:00
parent a371ea0f02
commit 4919ccbc70
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 2 additions and 7 deletions

2
csi.c
View file

@ -1135,7 +1135,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
min(term->grid->cursor.point.row, term->rows - 1),
min(term->grid->cursor.point.col, term->cols - 1));
tll_free(term->alt.damage);
tll_free(term->alt.scroll_damage);
term_erase(
@ -1262,7 +1261,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
min(term->grid->cursor.point.row, term->rows - 1),
min(term->grid->cursor.point.col, term->cols - 1));
tll_free(term->alt.damage);
tll_free(term->alt.scroll_damage);
/* Delete all sixel images on the alt screen */