CSI 0 q should blink cursor as per xterm docs and behavior

This commit is contained in:
Kovid Goyal 2022-01-25 13:29:44 +05:30
parent 0648b4f568
commit 364bad504c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1943,7 +1943,7 @@ screen_set_cursor(Screen *self, unsigned int mode, uint8_t secondary) {
case '"': // DECCSA
break;
case ' ': // DECSCUSR
shape = 0; blink = false;
shape = 0; blink = true;
if (mode > 0) {
blink = mode % 2;
shape = (mode < 3) ? CURSOR_BLOCK : (mode < 5) ? CURSOR_UNDERLINE : (mode < 7) ? CURSOR_BEAM : NO_CURSOR_SHAPE;