Skip to content

fix(message): respect no-color terminal settings#64

Merged
matoous merged 1 commit intomainfrom
md/message-color-respect
Mar 27, 2026
Merged

fix(message): respect no-color terminal settings#64
matoous merged 1 commit intomainfrom
md/message-color-respect

Conversation

@matoous
Copy link
Copy Markdown
Contributor

@matoous matoous commented Mar 27, 2026

Disable ANSI color output when NO_COLOR is set or TERM=dumb, while keeping color enabled for interactive terminals.

Extract the decision logic into a small helper with direct internal tests so the behavior stays easy to verify.

Disable ANSI color output when NO_COLOR is set or TERM=dumb, while keeping color enabled for interactive terminals.

Extract the decision logic into a small helper with direct internal tests so the behavior stays easy to verify.
@matoous matoous merged commit e6e3187 into main Mar 27, 2026
6 checks passed
@matoous matoous deleted the md/message-color-respect branch March 27, 2026 22:52
@sumup-bot sumup-bot bot mentioned this pull request Mar 27, 2026
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