summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st-0.8.5/config.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/st-0.8.5/config.h b/st-0.8.5/config.h
index 7fb0381..5639d1d 100644
--- a/st-0.8.5/config.h
+++ b/st-0.8.5/config.h
@@ -104,13 +104,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 = 5;
+static unsigned int cursorstyle = 5;
+static Rune stcursor = 0x2603; /* snowman ("☃") */
/*
* Default columns and rows numbers
@@ -165,8 +172,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Prior, zoom, {.f = +1} },
{ TERMMOD, XK_Next, zoom, {.f = -1} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
- { MODKEY, XK_c, clipcopy, {.i = 0} },
- { MODKEY, XK_v, clippaste, {.i = 0} },
+ { MODKEY, XK_C, clipcopy, {.i = 0} },
+ { MODKEY, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },