Skip to content
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

Add option to set ColorChoice globally for [e]print[ln]? #27

Closed
LukasKalbertodt opened this issue Nov 29, 2022 · 1 comment
Closed

Add option to set ColorChoice globally for [e]print[ln]? #27

LukasKalbertodt opened this issue Nov 29, 2022 · 1 comment

Comments

@LukasKalbertodt
Copy link
Owner

I'm running into a situation now where I am adding a --color flag to my CLI to control color output. Currently the bunt docs recommend using write! with a custom stream then. And sure, it works, but I now want all my bunt calls to respect that color choice. So maybe it makes sense to add an ability to change the global color choice?

@LukasKalbertodt
Copy link
Owner Author

Implemented in dcf2588 and released as 0.2.7

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

No branches or pull requests

1 participant