Fix turning off cursor blink via escape codes not working

Also fix cursor blink stopping after terminal reset. The default cursor
state should be blinking.

Fixes #3808

...
This commit is contained in:
Kovid Goyal
2021-07-07 20:45:46 +05:30
parent 25fb5d0ee6
commit cd6b3da665
5 changed files with 20 additions and 13 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ typedef struct {
typedef struct {
PyObject_HEAD
bool bold, italic, reverse, strikethrough, blink, dim;
bool bold, italic, reverse, strikethrough, dim, non_blinking;
unsigned int x, y;
uint8_t decoration;
CursorShape shape;