Classify every comment as tautology, stale, excuse or decision record. Tautology/stale/excuse comments are deleted (excuses filed as issues #196-#236), decisions moved to docs/adr/0001-0034. - scripts/lint-comments.sh + .comment-baseline: per-file comment count may only go down; wired into tests/all.sh - .claude/skills/delete-comment: repeatable audit workflow - cargo fmt applied to touched crates Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
695 B
695 B
Theme paints no background; colour marks status only
Status: accepted
Context
The UI uses Catppuccin Mocha but must work on arbitrary terminal themes, NO_COLOR, ASCII-only and non-truecolor terminals.
Decision
The background is never painted so the terminal's own ground shows through. Colour marks status only; NO_COLOR drops colours but keeps modifiers; HX_ASCII=1 swaps in ASCII symbols; without COLORTERM=truecolor|24bit colours map to the nearest xterm-256 entry.
Consequences
Works on light and dark terminals; diff backgrounds are mixed from the base colour rather than painted across the screen.
Code: crates/hx-tui/src/theme.rs (module, nearest xterm-256 mapping)