diff options
author | tsxv478 <vt0451@yandex.ru> | 2022-07-17 04:30:36 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2022-07-17 04:30:36 +0300 |
commit | 32d72cf9b50ba1c28803e641cbd87df4f421476c (patch) | |
tree | 4c942e4911a4194f834e85d1bb12dbccc469d7b9 /config.def.h | |
parent | 59eed7c68a87f17e3bd0e60739dd75972cae9de0 (diff) |
blinking cursor patch
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index 1bd4dd4..29c35f1 100644 --- a/config.def.h +++ b/config.def.h @@ -147,13 +147,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 |