diff options
| author | stkhan <personal@slickd.xyz> | 2022-05-22 10:34:45 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-05-22 10:34:45 +0000 |
| commit | 84f6efe37f9be0ae09e0c81169ec7a3604e32753 (patch) | |
| tree | a49eb95c2e025fa4af1adf1ab0ad9f9e83aea2e6 /st-0.8.5/config.def.h | |
| parent | bac5029e9cca6460451fb06d1b8dd756cae0c3f9 (diff) | |
st has blinking cursor
Diffstat (limited to 'st-0.8.5/config.def.h')
| -rw-r--r-- | st-0.8.5/config.def.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/st-0.8.5/config.def.h b/st-0.8.5/config.def.h index 0d221d7..98b3900 100644 --- a/st-0.8.5/config.def.h +++ b/st-0.8.5/config.def.h @@ -138,13 +138,20 @@ unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; /* - * 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 |