aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-07 19:35:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-07 19:35:17 +0000
commit95c4a8ccfb7fdccc6c4c51bb94aaeabee51a0f5c (patch)
tree6b20492b6b1d926750c3529894e2d16532fc6aab /vt.c
parentselection: reset ‘empty_count’ after we’ve emitted the empty cells (diff)
vt: \E#8: print ‘E’ using the default attributes
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 1 insertions, 1 deletions
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;
}