aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vt.c b/vt.c
index 870bc029..086ce071 100644
--- a/vt.c
+++ b/vt.c
@@ -186,8 +186,7 @@ action(struct terminal *term, enum action action, uint8_t c)
cell->c[1] = '\0';
}
- cell->foreground = term->vt.foreground;
- cell->background = term->vt.background;
+ cell->attrs = term->vt.attrs;
term->grid.cells[++term->grid.cursor].dirty = true;
term->grid.dirty = true;