X-Git-Url: https://git.armaanb.net/?p=st.git;a=blobdiff_plain;f=config.h;h=ebdc2621b9ecff4de389fa7e2e9cb3cf6e96c416;hp=dc179d70a4d968968822379bc5f6f2217d701933;hb=e3fdf615090f4bca1d290edd5b068fe15886db29;hpb=a1e3655fcb03dd6a2d8488bab97271fe9d6cbff5 diff --git a/config.h b/config.h index dc179d7..ebdc262 100644 --- a/config.h +++ b/config.h @@ -154,13 +154,20 @@ static unsigned int defaultcs = 0; static unsigned int defaultrcs = 7; /* - * 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 (U+2603) */ /* * Default columns and rows numbers