csi: DECCARA+DECRARA: dirty cells

This commit is contained in:
Daniel Eklöf 2021-12-28 17:14:50 +01:00
parent aac24bfa1b
commit 6a01642a6f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

4
csi.c
View file

@ -1781,9 +1781,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
for (int r = top; r <= bottom; r++) {
struct row *row = grid_row(term->grid, r);
row->dirty = true;
for (int c = left; c <= right; c++) {
struct attributes *a = &row->cells[c].attrs;
a->clean = 0;
for (size_t i = 4; i < term->vt.params.idx; i++) {
const int param = term->vt.params.v[i].value;
@ -1823,9 +1825,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
for (int r = top; r <= bottom; r++) {
struct row *row = grid_row(term->grid, r);
row->dirty = true;
for (int c = left; c <= right; c++) {
struct attributes *a = &row->cells[c].attrs;
a->clean = 0;
for (size_t i = 4; i < term->vt.params.idx; i++) {
const int param = term->vt.params.v[i].value;