diff options
| author | Steven Ward <planet36@gmail.com> | 2023-08-19 08:05:36 -0500 |
|---|---|---|
| committer | Marcelo Lira <setanta@gmail.com> | 2025-03-03 16:12:29 -0300 |
| commit | 054e4e34b9f73ace7db2dc36f77c9e2d7ff29117 (patch) | |
| tree | 23bddcbc21405054b99d349c2ee94a7a8b23a422 /config.def.h | |
| parent | 59761909e79e9b3fd26e528876868beef23c4485 (diff) | |
Add different cursor styles
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 31c2ec4..3d5288f 100644 --- a/config.def.h +++ b/config.def.h @@ -145,13 +145,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 |
