csi: no need to set VT state’s fg/bg to the default ones on SGR reset

This commit is contained in:
Daniel Eklöf 2021-12-25 17:13:01 +01:00
parent 2fa29fb5f4
commit 8bf757f466
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
csi.c
View file

@ -32,8 +32,6 @@ static void
sgr_reset(struct terminal *term)
{
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 *