Skip to content

fix: legible CGA palette and 'total' in summary line#44

Merged
peczenyj merged 1 commit into
develfrom
fix/cga-palette-and-summary-total
May 26, 2026
Merged

fix: legible CGA palette and 'total' in summary line#44
peczenyj merged 1 commit into
develfrom
fix/cga-palette-and-summary-total

Conversation

@peczenyj

Copy link
Copy Markdown
Owner

Miscellaneous small UX fixes.

CGA palette legibility

The -cga easter-egg theme previously just brightened the default palette (bright cyan/green/red). On many terminals that's indistinguishable from the default — bold + standard colors render identically to their bright variants — so the egg was effectively invisible.

Rethemed to the iconic CGA mode-4 palette 1 (cyan / magenta / white):

Role Before Now
Header bright cyan reverse-video bright magenta (header bar)
Added bright green bright cyan
Removed / Padding bright red bright magenta
Meta / Label gray / white gray / white (unchanged)

Now visibly distinct from the default. TestCgaThemeIsDistinctFromDefault locks in the intent. The default theme (and its golden fixtures) are untouched.

Summary wording

-summary now reads Summary: N structs affected, M bytes saved total, clarifying the byte count is an aggregate across all shown structs.

Closes #43

🤖 Generated with Claude Code

Two small UX polish items:

- Retheme the CGA easter egg to the iconic mode-4 palette 1
  (cyan/magenta/white) with a reverse-video magenta header bar. The
  previous palette merely brightened the default colors, which many
  terminals render identically to bold+standard, so it was effectively
  invisible.
- Append "total" to the -summary line: "Summary: N structs affected,
  M bytes saved total", clarifying the byte count is an aggregate.

Closes #43

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@peczenyj peczenyj self-assigned this May 26, 2026
@peczenyj peczenyj merged commit 3d4140d into devel May 26, 2026
6 checks passed
@peczenyj peczenyj deleted the fix/cga-palette-and-summary-total branch May 26, 2026 20:35
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.88%. Comparing base (0949ac2) to head (ef703d5).
⚠️ Report is 1 commits behind head on devel.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel      #44   +/-   ##
=======================================
  Coverage   92.88%   92.88%           
=======================================
  Files          12       12           
  Lines         871      871           
=======================================
  Hits          809      809           
  Misses         34       34           
  Partials       28       28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Polish: make CGA palette legible and add 'total' to summary line

2 participants