summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2020-06-26 19:49:38 -0400
committerMalfurious <m@lfurio.us>2024-08-12 13:16:40 -0400
commit73ef9f60226e1b6538de46b9000dfbd239c97ed2 (patch)
tree9bb62b7f07f83eeaf503cfe8b2956e3f32557b66 /config.def.h
parent09774ed8d6f014e63cdcd558ff0503acc73283d4 (diff)
downloadst-73ef9f60226e1b6538de46b9000dfbd239c97ed2.tar.gz
st-73ef9f60226e1b6538de46b9000dfbd239c97ed2.zip
patch: scrollback
Scroll back through terminal output using Shift+{PageUp, PageDown}.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 6326287..e006b5e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -205,6 +205,8 @@ static Shortcut shortcuts[] = {
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ TERMMOD, XK_Return, newterm, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*