summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 03:20:29 -0600
committerzachir <zachir@librem.one>2023-02-20 03:20:29 -0600
commit543d377de17a506b23357c4467e6e2d77a75afdb (patch)
tree74becbc6e0f8b776e41aaaa7585df3c232f6ebc4 /config.def.h
parentcaabf93cf05b4f1aae0ee414657b179645423fb3 (diff)
add scrollback-mouse patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 1660264..3756c77 100644
--- a/config.def.h
+++ b/config.def.h
@@ -202,6 +202,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"} },