aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-28 16:15:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:25:04 +0000
commit8d7ab86182c1439e9aa4c436f0ceebe77c7d05a9 (patch)
tree68a9f70dbffa2d0cef1f259916ad3f545ffb8b7e
parentcsi: DECCARA+DECRARA: dirty cells (diff)
term_fill(): no need to set attrs.clean = 0
The VT state’s attribute is always 0
-rw-r--r--terminal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index 1ca581be..2248bd02 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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;