Posters wait while the selection moves quickly
On a terminal zoomed far out a poster is tens of thousands of cells, and redrawing it on every step of a held arrow key was more output than the terminal could draw (about 100 KB per step at 600x180), so the list lagged. A selection that changes again within 120 ms keeps the poster's place empty and shows the poster once it rests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019reK4DUGYqDUjniWYJvwUW
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- **Smooth scrolling on huge terminals:** while an arrow key is held, the poster waits until the
|
||||
selection rests (120 ms). Every poster rewrites all of its cells, which on a terminal zoomed far
|
||||
out was more output per step than the terminal could draw, so moving through a list lagged.
|
||||
- **Posters in macOS Terminal:** Terminal.app draws the half and quarter blocks from the font, and
|
||||
their halves do not meet at the middle of the cell, so posters looked like rows of shifted dots.
|
||||
`auto` now draws them there as plain colored cells (new `ui.cover_style` value `cells`): coarser,
|
||||
|
||||
Reference in New Issue
Block a user