Repository navigation
fix: stop the preview scanning every line each frame - #165
Merged
Merged
Conversation
Every frame ran a regex over every line of the selected conversation looking for search hits, even with no search typed: about 55ms a frame on a long session, so the screen lagged keys and PR lookups landing (most visible with the ^O popup open). Hits are now looked for only while searching, and only at each line's start. The ^O popup also draws each PR's status as it is now, so lookups that land while it's open show instead of staying "checking…". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun
brtkwr
enabled auto-merge
October 28, 2026 19:26
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.
ccs lagged while PRs were loading, most visibly with the ^O popup open: each PR result that landed redrew the screen, and every redraw cost about 55ms on a long session.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun