From 84f6efe37f9be0ae09e0c81169ec7a3604e32753 Mon Sep 17 00:00:00 2001 From: stkhan Date: Sun, 22 May 2022 10:34:45 +0000 Subject: st has blinking cursor --- st-0.8.5/config.def.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'st-0.8.5/config.def.h') 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 -- cgit v1.2.3