mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
term_fill(): no need to set attrs.clean = 0
The VT state’s attribute is always 0
This commit is contained in:
parent
6a01642a6f
commit
8d7ab86182
1 changed files with 0 additions and 2 deletions
|
|
@ -3523,8 +3523,6 @@ term_fill(struct terminal *term, int r, int c, uint8_t data, size_t count,
|
||||||
? term->vt.attrs
|
? term->vt.attrs
|
||||||
: (struct attributes){0};
|
: (struct attributes){0};
|
||||||
|
|
||||||
attrs.clean = 0;
|
|
||||||
|
|
||||||
const struct cell *last = &row->cells[c + count];
|
const struct cell *last = &row->cells[c + count];
|
||||||
for (struct cell *cell = &row->cells[c]; cell < last; cell++) {
|
for (struct cell *cell = &row->cells[c]; cell < last; cell++) {
|
||||||
cell->wc = data;
|
cell->wc = data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue