diff options
| author | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-12-14 02:35:37 -0800 |
|---|---|---|
| committer | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-12-14 02:35:37 -0800 |
| commit | d5f4f53cbcbc325725ff7e9433fb5e292db64465 (patch) | |
| tree | d9ea2a814a152d24aaff7da71fa97082675b06c4 /config.def.h | |
| parent | Add st 0.8.4 source code (diff) | |
Add scrollback history
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 6f05dce..51d0236 100644 --- a/config.def.h +++ b/config.def.h @@ -174,6 +174,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"} }, @@ -199,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} }, }; /* |