Fork of lines.love for browsing read-only text files; useful starting point for further forks

standardize scroll check in a few places

I'm taking some lessons from pensieve.love here. It seem like specific pixel thresholds don't matter too much for plain lines.love.

I'd probably feel safer if I just used Text.cursor_out_of_screen in these places, but it means we draw the screen twice for most events[1]. Let's see if we can get by with the current approach.

[1] Or we have to start scheduling things for the next draw, which is more complex to orchestrate.

Created by  Kartik K. Agaram  on August 17, 2022
AYS3Z3TXOXF5ZJDLSBWEUIOWXJEZXLXEBZS5ZRJC2IRDVM7KTSTAC
Change contents