Skip to content

Misc#278

Merged
ako merged 4 commits intomainfrom
misc
Apr 23, 2026
Merged

Misc#278
ako merged 4 commits intomainfrom
misc

Conversation

@ako
Copy link
Copy Markdown
Collaborator

@ako ako commented Apr 23, 2026

No description provided.

ako and others added 4 commits April 22, 2026 19:31
Introduce a colorPalette that detects whether stdout is a real TTY
(using golang.org/x/term) and respects the NO_COLOR env var.  When
active it applies:
- bold-cyan prompt (mdl>) and gray continuation prompt (...>)
- bold "MDL REPL" title and gray hint lines in the banner
- red "Error:" and "Parse error:" messages

Colors are automatically suppressed when output is piped or redirected,
so scripted use and JSON output are unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ako ako merged commit 5097e46 into main Apr 23, 2026
6 checks passed
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.

1 participant