From 8d7ab86182c1439e9aa4c436f0ceebe77c7d05a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 28 Dec 2021 17:15:12 +0100 Subject: [PATCH] term_fill(): no need to set attrs.clean = 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VT state’s attribute is always 0 --- terminal.c | 2 -- 1 file changed, 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;