Fix blinking cursor
This commit is contained in:
parent
e7f11528ac
commit
a76e0ea059
|
@ -154,7 +154,7 @@ static unsigned int defaultrcs = 257;
|
||||||
* 7: blinking st cursor
|
* 7: blinking st cursor
|
||||||
* 8: steady st cursor
|
* 8: steady st cursor
|
||||||
*/
|
*/
|
||||||
static unsigned int cursorshape = 1;
|
static unsigned int cursorstyle = 1;
|
||||||
static Rune stcursor = 0x2603; /* snowman ("☃") */
|
static Rune stcursor = 0x2603; /* snowman ("☃") */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
19
config.h
19
config.h
|
@ -142,13 +142,20 @@ unsigned int defaultcs = 256;
|
||||||
static unsigned int defaultrcs = 257;
|
static unsigned int defaultrcs = 257;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
|
||||||
* 2: Block ("█")
|
* Default style of cursor
|
||||||
* 4: Underline ("_")
|
* 0: blinking block
|
||||||
* 6: Bar ("|")
|
* 1: blinking block (default)
|
||||||
* 7: Snowman ("☃")
|
* 2: steady block ("█")
|
||||||
|
* 3: blinking underline
|
||||||
|
* 4: steady underline ("_")
|
||||||
|
* 5: blinking bar
|
||||||
|
* 6: steady bar ("|")
|
||||||
|
* 7: blinking st cursor
|
||||||
|
* 8: steady st cursor
|
||||||
*/
|
*/
|
||||||
static unsigned int cursorshape = 2;
|
static unsigned int cursorstyle = 1;
|
||||||
|
static Rune stcursor = 0x2603; /* snowman ("☃") */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default columns and rows numbers
|
* Default columns and rows numbers
|
||||||
|
|
Loading…
Reference in New Issue