Repository navigation
feat(tui): the search that was always there, now on screen - #5
Merged
Merged
Conversation
klNuno
force-pushed
the
feat/model-search
branch
from
August 7, 2026 19:15
22124af to
ee83e0a
Compare
The model screen has filtered on whatever was typed into it since the list existed, and nothing on screen said so: the letters went somewhere invisible and the list simply got shorter. The line between the title and the list was blank on that screen alone, so the box goes there. It carries the caret before anything is typed, because a search nobody can see is a search nobody uses, and the match count once something is: a filter that hides four of five models is the one case where the list on screen is not the list the provider serves. The caret is a reversed space rather than a bar glyph, which every terminal draws the same way. The help line no longer needs to say `type to filter` and says what esc does instead.
klNuno
force-pushed
the
feat/model-search
branch
from
August 9, 2026 13:11
ee83e0a to
f921cba
Compare
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.
Draws the model screen's filter as a search box, on the line between the title and the list that is blank on that screen alone. The screen has filtered on whatever was typed into it since the list existed and nothing on screen said so, so the letters went somewhere invisible and the list simply got shorter.
The box is drawn before anything is typed, and carries the match count once something is: a filter hiding four of five models is the one case where the list on screen is not the list the provider serves. The caret is a reversed space rather than a bar glyph, which every terminal draws the same way. The help line drops
type to filterand says what esc does instead.Based on #4 and stacked on it, so this branch carries that commit too. Retarget to main once #4 lands.
cargo testpasses, two of them on the new render.