Repository navigation
Improve TUI selection contrast and calm healthy probe history - #153
Merged
Merged
Conversation
lance0
force-pushed
the
fix/tui-input-responsiveness
branch
from
October 16, 2026 15:53
a527ce3 to
8419976
Compare
lance0
force-pushed
the
fix/tui-theme-readability
branch
from
October 16, 2026 15:55
a812551 to
dc2b359
Compare
lance0
marked this pull request as ready for review
October 16, 2026 16:01
… helper The table-wide theme.text style forced ANSI White onto every row in the default theme, which is unreadable on light terminal backgrounds. Selected rows already set their own contrast-adjusted foreground.
lance0
force-pushed
the
fix/tui-theme-readability
branch
from
October 16, 2026 16:02
dc2b359 to
0e69c5e
Compare
lance0
added a commit
that referenced
this pull request
Oct 16, 2026
lance0
added a commit
that referenced
this pull request
Oct 16, 2026
* docs: CHANGELOG for the October fix batch * docs: add #153 to CHANGELOG
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.
Selected rows lose readable ASN/status text in nine of the ten RGB themes; Solarized also has low-contrast primary selected text. Healthy routes fill the Recent column with bright green blocks, competing with actual failures.
Prepare a selection palette once per draw that adjusts only foregrounds below 4.5:1 contrast against the known selection background. Apply it to hop rows, targets and replay progress. Keep terminal-controlled ANSI colors unchanged. Recent outcomes now use quiet reply dots and individually colored timeout crosses; zero loss is quieter, and help explains the history direction and symbols. Document adaptive columns, scrolling and global Ctrl-C.
Stacked on #152. The contrast target uses W3C's sRGB definition as a readability benchmark, without making a terminal-wide accessibility claim: https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html.
Validation: full build/test/clippy/fmt/doc checks and Rust 1.88 all-target check. Regression tests cover every selected foreground in all RGB palettes, light-background contrast, ANSI preservation and history order/color. Inspected headless buffer previews at 80×24 and 120×30. Release render audit: typical screen p95 0.251 ms; dense 64-hop/16-responder screen p95 1.274 ms (Nord RGB palette 1.283 ms). Repeated PTY checks retain ~21 ms pause response after 80 queued keys, working Ctrl-C in Settings and zero idle output.
Integration check: all ten draft branches (#144–#153) merge together locally without conflicts. The combined build, full tests, clippy, formatting, documentation and Rust 1.88 all-target check pass. Platform build CI currently targets PRs based on master; stacked drafts receive the security audit and will gain platform checks when retargeted.