Repository navigation
Reduce terminal flicker in the dor file picker - #1092
Merged
Merged
Conversation
Erase each changed row before writing it, so a character in the last column survives without measuring the row's width. Key the frame cache on the terminal size directly. Seed ranking once per input chunk from the picker rather than on every query edit, so a chunk of several edits pays one bounded slice. Share test helpers for painted rows and output since the last check, and trim the spec rule to its contract. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
739d3fb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2c6fa2f5.mouseterm.pages.dev |
| Branch Preview URL: | https://dor-o-flicker.mouseterm.pages.dev |
dormouse-bot
approved these changes
Oct 9, 2026
nedtwigg
requested a deployment
to
hosted-preview
October 9, 2026 17:04 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Typing in
dor obriefly cleared the result list before deferred ranking caught up, and every update rewrote the whole terminal. Seed each query with one bounded ranking slice, redraw only changed rows, and emit nothing for unchanged frames. Preserve full-width characters when clearing row tails and repaint after terminal resizing.Validation:
pnpm --filter dor test(260 passed, 1 skipped), spec and Markdown lints, and live search/navigation in the Dormouse innerdogfood harness. Regression coverage includes redraw scope, unchanged frames, handler replies, right-margin clearing, query edits, and resizing between compact and side-panel layouts.