summary refs log tree commit diff
path: root/st-config.h
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-09 14:59:40 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-09 14:59:40 -0700
commita555dd7d7c93fc28e57748f57b7f7cd439bccd1e (patch)
tree407d3bd21c9eab8f91860c8cf14bdd182583e4e5 /st-config.h
parent21f51f22586a8a71d0154c1db6e9ea0209f39b6a (diff)
MOD: update
Diffstat (limited to 'st-config.h')
-rw-r--r--st-config.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/st-config.h b/st-config.h index bee5847..5f818e3 100644 --- a/st-config.h +++ b/st-config.h
@@ -20,7 +20,7 @@ static char *shell = "/usr/bin/oksh";
20char *utmp = NULL; 20char *utmp = NULL;
21/* scroll program: to enable use a string like "scroll" */ 21/* scroll program: to enable use a string like "scroll" */
22char *scroll = NULL; 22char *scroll = NULL;
23char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400"; 23char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400 -ixon";
24 24
25/* identification sequence returned in DA and DECID */ 25/* identification sequence returned in DA and DECID */
26char *vtiden = "\033[?6c"; 26char *vtiden = "\033[?6c";
@@ -176,11 +176,6 @@ static uint forcemousemod = ShiftMask;
176 */ 176 */
177static MouseShortcut mshortcuts[] = { 177static MouseShortcut mshortcuts[] = {
178 /* mask button function argument release */ 178 /* mask button function argument release */
179 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
180 { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
181 { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
182 { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
183 { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },
184}; 179};
185 180
186/* Internal keyboard shortcuts. */ 181/* Internal keyboard shortcuts. */
@@ -189,18 +184,8 @@ static MouseShortcut mshortcuts[] = {
189 184
190static Shortcut shortcuts[] = { 185static Shortcut shortcuts[] = {
191 /* mask keysym function argument */ 186 /* mask keysym function argument */
192 { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} },
193 { ControlMask, XK_Print, toggleprinter, {.i = 0} },
194 { ShiftMask, XK_Print, printscreen, {.i = 0} },
195 { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
196 { TERMMOD, XK_Prior, zoom, {.f = +1} },
197 { TERMMOD, XK_Next, zoom, {.f = -1} },
198 { TERMMOD, XK_Home, zoomreset, {.f = 0} },
199 { TERMMOD, XK_C, clipcopy, {.i = 0} }, 187 { TERMMOD, XK_C, clipcopy, {.i = 0} },
200 { TERMMOD, XK_V, clippaste, {.i = 0} }, 188 { TERMMOD, XK_V, clippaste, {.i = 0} },
201 { TERMMOD, XK_Y, selpaste, {.i = 0} },
202 { ShiftMask, XK_Insert, selpaste, {.i = 0} },
203 { TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
204}; 189};
205 190
206/* 191/*
@@ -472,3 +457,5 @@ static char ascii_printable[] =
472 " !\"#$%&'()*+,-./0123456789:;<=>?" 457 " !\"#$%&'()*+,-./0123456789:;<=>?"
473 "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" 458 "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
474 "`abcdefghijklmnopqrstuvwxyz{|}~"; 459 "`abcdefghijklmnopqrstuvwxyz{|}~";
460
461unsigned int scrollback_lines = 5000;