From 1249b14c3c2f976e3253ba7339d67ccd03ee6868 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sun, 17 Jul 2022 04:22:38 +0300 Subject: scrollback mouse patch --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index e3b469b..c217315 100644 --- a/config.def.h +++ b/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"} }, -- cgit v1.2.3