From 95c4a8ccfb7fdccc6c4c51bb94aaeabee51a0f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 7 Jun 2021 21:35:17 +0200 Subject: [PATCH] =?UTF-8?q?vt:=20\E#8:=20print=20=E2=80=98E=E2=80=99=20usi?= =?UTF-8?q?ng=20the=20default=20attributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vt.c b/vt.c index 67ec547a..fc6f8749 100644 --- a/vt.c +++ b/vt.c @@ -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; }