summaryrefslogtreecommitdiff
path: root/st/config.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-10-12 12:46:18 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-10-12 12:46:18 +0900
commit47d3bee157f82e851efe623963ace223b5bc6f5e (patch)
tree783ed056db49ceb44d472c818ab4bbc6739110c1 /st/config.h
parent170af86eced1c4c15c47617e80a29498f4f2f576 (diff)
modified config.h, modified x.c
Diffstat (limited to 'st/config.h')
-rw-r--r--st/config.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/st/config.h b/st/config.h
index bf7e0c0..3e2707f 100644
--- a/st/config.h
+++ b/st/config.h
@@ -159,13 +159,20 @@ unsigned int defaultrcs = 257;
unsigned int background = 258;
/*
- * 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