I noticed the following while using the scrollback buffer patch. * You can scroll past the top line in the buffer. Fixed with the attached diff. * The selection doesn't reappear when going back on screen after scrolling off. Working on this now. * MPV's status output is still drawn despite scrolling off.
Has anybody encountered the last two, and already worked on them? Regards, Alex Pilon
--- a/st.c
+++ b/st.c
@@ -1477,6 +1477,8 @@ kscrollup(const Arg* a) {
if(term.scr <= histsize - n) {
term.scr += n;
+ if (term.scr > term.histi)
+ term.scr = term.histi;
selscroll(0, n);
tfulldirt();
}
pgpXDs5GJNQRg.pgp
Description: PGP signature
