diff options
| author | stkhan <personal@slickd.xyz> | 2022-05-22 10:41:22 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-05-22 10:41:22 +0000 |
| commit | 646196b544c15c5624e6dd70555b9bbe546155f6 (patch) | |
| tree | ff0b0446451bbab8de10f38a58f5ca340a783517 /st-0.8.5/config.h | |
| parent | 9f781d5da094bd71e5f3d408b6635ccef22619de (diff) | |
Fixed compilation issue
Diffstat (limited to 'st-0.8.5/config.h')
| -rw-r--r-- | st-0.8.5/config.h | 23 |
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} }, |