Skip to content

Add more colors based on terminal capabilities#222

Merged
bcomnes merged 5 commits into
masterfrom
colors
May 18, 2026
Merged

Add more colors based on terminal capabilities#222
bcomnes merged 5 commits into
masterfrom
colors

Conversation

@bcomnes

@bcomnes bcomnes commented May 17, 2026

Copy link
Copy Markdown
Owner

Adds more default colors based on terminal capabilities: #210

Copilot AI review requested due to automatic review settings May 17, 2026 21:53
@bcomnes bcomnes mentioned this pull request May 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds terminal capability-aware label coloring for task prefixes, expanding the default color pool beyond the previous five named colors.

Changes:

  • Replaces the fixed named-color list with named 16-color and ANSI 256-color palettes.
  • Assigns stable numeric color indexes per task name.
  • Selects label colors based on the output stream’s reported color depth.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/run-task.js
@bcomnes bcomnes merged commit 2848921 into master May 18, 2026
25 of 26 checks passed
@bcomnes bcomnes deleted the colors branch May 18, 2026 20:06
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.

2 participants