Skip to content

Make REPL prompt hexagon and > blue to match logo#1837

Merged
pmcelhaney merged 3 commits intomainfrom
copilot/make-hexagon-blue
Apr 12, 2026
Merged

Make REPL prompt hexagon and > blue to match logo#1837
pmcelhaney merged 3 commits intomainfrom
copilot/make-hexagon-blue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 12, 2026

Summary

The hexagon in the REPL prompt was unstyled. This colors the full ⬣> prompt with the same blue (#0071b5) used in the Counterfact logo SVG, using a 24-bit ANSI escape sequence so the color is exact rather than approximated by a named terminal color.

// Before
prompt: "⬣> ",

// After
prompt: "\x1b[38;2;0;113;181m⬣> \x1b[0m",
Original Prompt

Make the hexagon in the REPL prompt the same shade of blue as the logo.

Manual acceptance tests

  • Counterfact REPL prompt shows ⬣> with both the hexagon and > rendered in blue matching the logo color
  • REPL commands (.proxy, .counterfact, etc.) continue to work normally
  • Terminals without 24-bit color support still display the prompt character (degrades gracefully)

Tasks

  • Identified logo blue as #0071b5 (RGB 0, 113, 181) from counterfact.svg
  • Applied 24-bit ANSI foreground escape (\x1b[38;2;0;113;181m) to the full ⬣> prompt in src/repl/repl.ts, with reset after
  • Added patch changeset

Copilot AI linked an issue Apr 12, 2026 that may be closed by this pull request
@pmcelhaney pmcelhaney marked this pull request as ready for review April 12, 2026 00:55
Copilot AI changed the title [WIP] Update hexagon color in REPL prompt to match logo Make REPL prompt hexagon blue to match logo Apr 12, 2026
Copilot AI requested a review from pmcelhaney April 12, 2026 00:58
@pmcelhaney pmcelhaney enabled auto-merge April 12, 2026 01:02
@pmcelhaney pmcelhaney disabled auto-merge April 12, 2026 01:03
@pmcelhaney
Copy link
Copy Markdown
Collaborator

@copilot apply the color to
the > as well

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 12, 2026

@copilot apply the color to
the > as well

Done in 08b44e6 — the reset is now moved after > so the full ⬣> prompt is blue.

Copilot AI changed the title Make REPL prompt hexagon blue to match logo Make REPL prompt hexagon and > blue to match logo Apr 12, 2026
Copilot AI requested a review from pmcelhaney April 12, 2026 01:05
@pmcelhaney pmcelhaney enabled auto-merge April 12, 2026 01:35
@pmcelhaney pmcelhaney added this pull request to the merge queue Apr 12, 2026
Merged via the queue into main with commit dd34480 Apr 12, 2026
8 of 10 checks passed
@pmcelhaney pmcelhaney deleted the copilot/make-hexagon-blue branch April 12, 2026 01:42
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.

Make the hexagon blue

2 participants