Skip to content

Add Colorize.default_enabled? #15912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

HertzDevil
Copy link
Contributor

Exposes the default value logic of Colorize.enabled? via a new class method. This can be used when colorization is done through local IO objects instead of the global STDOUT and STDERR, e.g. in Spec.

@straight-shoota straight-shoota added this to the 1.17.0 milestone Jun 18, 2025
@straight-shoota straight-shoota merged commit a50c2da into crystal-lang:master Jun 23, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants