From 04703c07f0db9e933ceda549f40cf5f30a46a724 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 14 Dec 2020 19:10:30 +0100 Subject: csi: SGR 21 is “double underline”, not “disable bold” (according to ECMA-48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index fba044bc..43d18f73 100644 --- a/csi.c +++ b/csi.c @@ -94,7 +94,7 @@ csi_sgr(struct terminal *term) case 8: term->vt.attrs.conceal = true; break; case 9: term->vt.attrs.strikethrough = true; break; - case 21: term->vt.attrs.bold = false; break; + case 21: break; /* double-underline, not implemented */ case 22: term->vt.attrs.bold = term->vt.attrs.dim = false; break; case 23: term->vt.attrs.italic = false; break; case 24: term->vt.attrs.underline = false; break; -- cgit v1.3