mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
term: prepare for configurable colors; add color variables to terminal
This commit is contained in:
parent
b18478f9b6
commit
29d855d7c6
5 changed files with 19 additions and 10 deletions
4
csi.c
4
csi.c
|
|
@ -111,8 +111,8 @@ static void
|
|||
sgr_reset(struct terminal *term)
|
||||
{
|
||||
memset(&term->vt.attrs, 0, sizeof(term->vt.attrs));
|
||||
term->vt.attrs.foreground = term->foreground;
|
||||
term->vt.attrs.background = term->background;
|
||||
term->vt.attrs.foreground = term->colors.fg;
|
||||
term->vt.attrs.background = term->colors.bg;
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue