diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 11:19:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-16 11:19:17 +0000 |
| commit | 6c6543cfeb1166470f13f3f7e7f3e04bad5d71cc (patch) | |
| tree | 61c122fc80ebbc29b99cb8ee1d1a383f0783e612 | |
| parent | terminal: foreground/background in cell attributes are now uint32_t (diff) | |
csi: add back 'blink' attribute
| -rw-r--r-- | csi.c | 4 | ||||
| -rw-r--r-- | terminal.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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; @@ -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 |
