summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2021-08-12 17:50:24 -0500
committerGitHub <noreply@github.com>2021-08-12 17:50:24 -0500
commit9e0ee79d7230872df5a231639241c73ccefb2b1b (patch)
tree4a3661997e3c69510f36d8da0e1758cd0e677df1 /config.h
parent59929cf427bad87466fc67465445e8354e219f82 (diff)
add scrollback
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index 7acb7a5..e396de3 100644
--- a/config.h
+++ b/config.h
@@ -185,6 +185,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"} },
@@ -210,6 +212,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*