st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

commit 56ff8cd7c79eb1d683fa11d47f75b8314be4bce8
parent 914cee019d8b72d76287c686d1ca2fb3952cf85c
Author: bakkeby <bakkeby@gmail.com>
Date:   Sun,  5 Apr 2020 18:09:50 +0200

[st][scrollback] Update for latest git

Diffstat:
Mst.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/st.c b/st.c @@ -1147,7 +1147,12 @@ tscrolldown(int orig, int n) term.line[i-n] = temp; } + #if SCROLLBACK_PATCH + if (term.scr == 0) + selscroll(orig, n); + #else selscroll(orig, n); + #endif // SCROLLBACK_PATCH } void @@ -1183,7 +1188,12 @@ tscrollup(int orig, int n) term.line[i+n] = temp; } + #if SCROLLBACK_PATCH + if (term.scr == 0) + selscroll(orig, -n); + #else selscroll(orig, -n); + #endif // SCROLLBACK_PATCH } void