render: implement cursor styles 'bar' and 'underline'

This commit is contained in:
Daniel Eklöf 2019-07-22 20:07:34 +02:00
parent 10be7c37ba
commit ed5df194b8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 94 additions and 49 deletions

2
csi.c
View file

@ -937,13 +937,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 3: /* blinking underline */
case 4: /* steady underline */
term->cursor_style = CURSOR_UNDERLINE;
LOG_WARN("unimplemented: cursor style: underline");
break;
case 5: /* blinking bar */
case 6: /* steady bar */
term->cursor_style = CURSOR_BAR;
LOG_WARN("unimplemented: cursor style: bar");
break;
}