mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
csi: no need to set VT state’s fg/bg to the default ones on SGR reset
This commit is contained in:
parent
2fa29fb5f4
commit
8bf757f466
1 changed files with 0 additions and 2 deletions
2
csi.c
2
csi.c
|
|
@ -32,8 +32,6 @@ static void
|
||||||
sgr_reset(struct terminal *term)
|
sgr_reset(struct terminal *term)
|
||||||
{
|
{
|
||||||
memset(&term->vt.attrs, 0, sizeof(term->vt.attrs));
|
memset(&term->vt.attrs, 0, sizeof(term->vt.attrs));
|
||||||
term->vt.attrs.fg = term->colors.fg;
|
|
||||||
term->vt.attrs.bg = term->colors.bg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue