summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2022-07-17 04:22:38 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2022-07-17 04:22:38 +0300
commit0d02519ec010ea5e6e0582a6ab682e03a027380c (patch)
treee8303149a59eb2b29eef908788d717ee02384ed8
parent0bb266f1bab8d50c0b4e112f6792873cf2435e38 (diff)
scrollback mouse patch
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
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"} },