vt: \E#8: print ‘E’ using the default attributes

This commit is contained in:
Daniel Eklöf 2021-06-07 21:35:17 +02:00
parent 0de55182ac
commit 95c4a8ccfb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -482,7 +482,7 @@ action_esc_dispatch(struct terminal *term, uint8_t final)
struct row *row = grid_row(term->grid, r);
for (int c = 0; c < term->cols; c++) {
row->cells[c].wc = L'E';
row->cells[c].attrs.clean = 0;
row->cells[c].attrs = (struct attributes){0};
}
row->dirty = true;
}