mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
vt: cell now tracks attributes (bold, italic, underline etc)
This commit is contained in:
parent
2a4c08b941
commit
c5b60253a7
4 changed files with 67 additions and 63 deletions
3
vt.c
3
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue