term_fill(): no need to set attrs.clean = 0

The VT state’s attribute is always 0
This commit is contained in:
Daniel Eklöf 2021-12-28 17:15:12 +01:00
parent 6a01642a6f
commit 8d7ab86182
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -3523,8 +3523,6 @@ term_fill(struct terminal *term, int r, int c, uint8_t data, size_t count,
? term->vt.attrs
: (struct attributes){0};
attrs.clean = 0;
const struct cell *last = &row->cells[c + count];
for (struct cell *cell = &row->cells[c]; cell < last; cell++) {
cell->wc = data;