diff options
Diffstat (limited to 'st/config.h')
| -rw-r--r-- | st/config.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/st/config.h b/st/config.h index bf7e0c0..3e2707f 100644 --- a/st/config.h +++ b/st/config.h @@ -159,13 +159,20 @@ unsigned int defaultrcs = 257; unsigned int background = 258; /* - * Default shape of cursor - * 2: Block ("█") - * 4: Underline ("_") - * 6: Bar ("|") - * 7: Snowman ("☃") + * 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 + * Default style of cursor + * 0: blinking block + * 1: blinking block (default) + * 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 |
