From efcbd7cb7cef5b418212fb6e6cf2e39860facfbb Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 26 Jun 2020 19:52:30 -0400 Subject: patch: scrollback-mouse Apply the following patch on top of the previous to allow scrolling using Shift+MouseWheel. --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index e006b5e..1b59ded 100644 --- a/config.def.h +++ b/config.def.h @@ -179,6 +179,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