commit 69ccd48ab1f17af1d39e363ece134cc67483c84e
parent 0912f4eff9f7d052bc1e99b0ead3820159f50ed0
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 11 Sep 2021 11:45:58 +0200
Scrollback with mouse
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -210,6 +210,8 @@ ResourcePref resources[] = {
*/
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"} },
diff --git a/config.h b/config.h
@@ -210,6 +210,8 @@ ResourcePref resources[] = {
*/
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"} },