In-reply-to » @lyse Yep, the scrolling is part of the GUI (responding to scrollbar events, translating coordinates, nasty stuff like that). It’s pretty brute force right now because it does a full redraw for each scroll event – a faster version would be to use WinScrollWindow() which scrolls/moves existing window content and then you only draw the new parts. Maybe I’ll do that in a later version. 😅

@movq@www.uninformativ.de Nice! Oh, I hear you. Remindes me of my multi-line table implementation for tt2. Surprisingly complicated stuff is needed for such a trivial thing as scrolling. I implemented a simple cache to speed up rendering when the same entry didn’t change. But there is probably a lot more room for further improvements.

⤋ Read More