diff --git a/config.def.h b/config.def.h index 8bf2d5b..a7f0bb3 100644 --- a/config.def.h +++ b/config.def.h @@ -154,7 +154,7 @@ static unsigned int defaultrcs = 257; * 7: blinking st cursor * 8: steady st cursor */ -static unsigned int cursorshape = 1; +static unsigned int cursorstyle = 1; static Rune stcursor = 0x2603; /* snowman ("☃") */ /* diff --git a/config.h b/config.h index f1b561b..a7f0bb3 100644 --- a/config.h +++ b/config.h @@ -142,13 +142,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 diff --git a/st b/st index 3cbae61..849599a 100755 Binary files a/st and b/st differ diff --git a/x.o b/x.o index 3938bb2..876eb3c 100644 Binary files a/x.o and b/x.o differ