st

My fork of st.
git clone git://git.alex.balgavy.eu/st.git
Log | Files | Refs | README | LICENSE

commit 69ccd48ab1f17af1d39e363ece134cc67483c84e
parent 0912f4eff9f7d052bc1e99b0ead3820159f50ed0
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sat, 11 Sep 2021 11:45:58 +0200

Scrollback with mouse

Diffstat:
Mconfig.def.h | 2++
Mconfig.h | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -210,6 +210,8 @@ ResourcePref resources[] = { */ 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"} }, diff --git a/config.h b/config.h @@ -210,6 +210,8 @@ ResourcePref resources[] = { */ 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"} },