aboutsummaryrefslogtreecommitdiff
path: root/st/config.def.h
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-02-03 10:21:03 +0000
committerCori Barker <coribarker2@gmail.com>2026-02-03 10:21:03 +0000
commitc70ea026971c1471a6a39294db7aa4a0935ab478 (patch)
treeba3120e8ae8753b4804406d2a258d7bfd2ee06fa /st/config.def.h
parente25732524f314221881670dfe3226fb4bc911ba9 (diff)
Patched scrollback and newterm into st
Diffstat (limited to 'st/config.def.h')
-rwxr-xr-xst/config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/st/config.def.h b/st/config.def.h
index 2cd740a..acfe483 100755
--- a/st/config.def.h
+++ b/st/config.def.h
@@ -176,6 +176,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
+ { ShiftMask, Button4, kscrollup, {.i = 1} },
+ { ShiftMask, Button5, kscrolldown, {.i = 1} },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
@@ -201,6 +203,9 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
+ { TERMMOD, XK_Return, newterm, {.i = 0} },
};
/*