diff options
| author | Malfurious <m@lfurio.us> | 2020-06-26 19:52:30 -0400 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-01-17 20:00:23 -0500 |
| commit | 42bf9a1e00c4f348c6bd2bd0af4894f71a14768e (patch) | |
| tree | d02768aac279a5aa58a9cee22badc498a28b3a59 /config.def.h | |
| parent | ae530b6b5a8fe60f357bed1ba0acd22ca1c6b4c4 (diff) | |
| download | st-42bf9a1e00c4f348c6bd2bd0af4894f71a14768e.tar.gz st-42bf9a1e00c4f348c6bd2bd0af4894f71a14768e.zip | |
patch: scrollback-mouse
Apply the following patch on top of the previous to allow scrolling
using Shift+MouseWheel.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 311838e..b2bd7c9 100644 --- a/config.def.h +++ b/config.def.h @@ -179,6 +179,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"} }, |
