added scrollback patch and modified it to only scroll half a page

This commit is contained in:
2025-09-10 16:22:36 +03:00
parent 73a89c36d3
commit 196996f9d3
12 changed files with 4405 additions and 122 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/config.def.h b/config.def.h
index 2cd740a..8b25d40 100644
--- a/config.def.h
+++ b/config.def.h
@@ -201,6 +201,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} },
};
/*