From 6c6543cfeb1166470f13f3f7e7f3e04bad5d71cc Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 16 Jul 2019 13:19:17 +0200 Subject: csi: add back 'blink' attribute --- csi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index a85fb5f6..8a5ecbb2 100644 --- a/csi.c +++ b/csi.c @@ -163,7 +163,7 @@ csi_sgr(struct terminal *term) case 2: term->vt.dim = true; break; case 3: term->vt.attrs.italic = true; break; case 4: term->vt.attrs.underline = true; break; - case 5: LOG_WARN("unimplemented: %s (blink)", csi_as_string(term, 'm')); /*term->vt.attrs.blink = true; */break; + case 5: term->vt.attrs.blink = true; break; case 6: break; /* rapid blink, ignored */ case 7: term->vt.attrs.reverse = true; break; case 8: term->vt.attrs.conceal = true; break; @@ -173,7 +173,7 @@ csi_sgr(struct terminal *term) case 22: term->vt.attrs.bold = term->vt.dim = false; break; case 23: term->vt.attrs.italic = false; break; case 24: term->vt.attrs.underline = false; break; - case 25: /*term->vt.attrs.blink = false; */break; + case 25: term->vt.attrs.blink = false; break; case 26: break; /* rapid blink, ignored */ case 27: term->vt.attrs.reverse = false; break; case 28: term->vt.attrs.conceal = false; break; -- cgit v1.3