csi: add back 'blink' attribute

This commit is contained in:
Daniel Eklöf 2019-07-16 13:19:17 +02:00
parent ccc8ef9606
commit 6c6543cfeb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 3 deletions

4
csi.c
View file

@ -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;

View file

@ -44,7 +44,7 @@ struct wayland {
bool have_argb8888;
};
struct rgb { float r, g, b; } __attribute__((packed));
struct rgb { float r, g, b; };
/*
* Note: we want the cells to be as small as possible. Larger cells