X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=config.def.h;h=361e138f07643be506f2ae6f73002172793fe6f3;hp=a345aadc4a35eeb61a7b6829d1637911fe92d268;hb=7d59dd715c0b5b219dbb8ac050f2fc07b604e30b;hpb=f345ce16ce1606bf5017022f79be1c392502020b diff --git a/config.def.h b/config.def.h index a345aad..361e138 100644 --- a/config.def.h +++ b/config.def.h @@ -133,13 +133,20 @@ static 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 (U+2603) */ /* * Default columns and rows numbers