Skip to content

Keep selected fuzzy completions readable on white foregrounds - #2157

Open
Don-Yin wants to merge 1 commit into
prompt-toolkit:mainfrom
Don-Yin:fix-selected-fuzzy-completion-colors
Open

Don-Yin wants to merge 1 commit into
prompt-toolkit:mainfrom
Don-Yin:fix-selected-fuzzy-completion-colors

Conversation

@Don-Yin

@Don-Yin Don-Yin commented Oct 24, 2026

Copy link
Copy Markdown

I reproduced the unreadable selected text with the example in #2007 on a white-foreground terminal. I changed the selected fuzzy match's outside color to the existing #444444, so reverse video no longer makes those letters white on white.

I added a regression test and ran the full test suite, Ruff, typos, and the three configured strict mypy checks.

Fixes #2007.

Selected fuzzy completion before and after, with a white terminal foreground

Signed-off-by: Don Yin <Don_Yin@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FuzzyCompleter: unreadable parts on selected row with white terminal fg

1 participant