diff options
| author | Shivesh Mandalia <mail@shivesh.org> | 2021-09-22 16:39:47 +0100 |
|---|---|---|
| committer | Shivesh Mandalia <mail@shivesh.org> | 2021-09-22 16:39:47 +0100 |
| commit | d26b9668ddc73bf5d487a35efb6769c4fdee07fd (patch) | |
| tree | d5f351455cad8bc7ef4687dc51da375e9e131cea | |
| parent | b21619170020055b7487b605548d2e76b048cfb7 (diff) | |
| download | st-d26b9668ddc73bf5d487a35efb6769c4fdee07fd.tar.gz st-d26b9668ddc73bf5d487a35efb6769c4fdee07fd.zip | |
Allow scrolling using Shift+MouseWheel
- Patch st-scrollback-mouse-20191024-a2c479c.diff
<https://st.suckless.org/patches/scrollback/>
| -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 93cbcc0..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"} }, |
