From 8bf757f466ec7f3536e181873f097f3e211bf9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 25 Dec 2021 17:13:01 +0100 Subject: [PATCH] =?UTF-8?q?csi:=20no=20need=20to=20set=20VT=20state?= =?UTF-8?q?=E2=80=99s=20fg/bg=20to=20the=20default=20ones=20on=20SGR=20res?= =?UTF-8?q?et?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/csi.c b/csi.c index f27f805f..cee133e9 100644 --- a/csi.c +++ b/csi.c @@ -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 *