Commit Graph

5 Commits

Author SHA1 Message Date
Kartik K. Agaram b0670b84ff get rid of an assertion
It's easy for cursor to go off viewport, and that seems fine. Just don't
let a cursor off screen receive keys.
2023-11-20 10:27:22 -08:00
Kartik K. Agaram e38191fc4f aggregate global state inside a 'pane' object
We're soon going to start juggling multiple of these.
2023-11-19 13:15:06 -08:00
Kartik K. Agaram 3717d7868a start sketching out a scrollbar
Not quite ideal: the scrollbar computation only considers
screen_bottom1.line and not screen_bottom1.pos, and so it always assumes
the final line is at the bottom of the screen.

I'm making a deeper change here that I might come to regret. I want to
avoid creating new book-keeping for editor mutations, so I'm putting the
work of computing scrollbar data into clear_screen_line_cache. But that
implies the editor should never clear before updating data, and I caught
one place that wasn't true before. A better name helps avoid this in
future. Let's see how much toil this causes in resolving conflicts.
2023-11-18 04:25:31 -08:00
Kartik K. Agaram e03d3ea172 responsively increase/decrease font height
Only using hotkeys for now, which are only available on non-mobile
devices, and not very discoverable. But this is an accessibility
foundation.
2023-11-15 09:30:17 -08:00
Kartik K. Agaram 01a8e0bb9f new fork: carousel shell 2023-11-15 06:06:56 -08:00