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

Autodetect color #20

Merged
merged 3 commits into from
Oct 31, 2022
Merged

Autodetect color #20

merged 3 commits into from
Oct 31, 2022

Conversation

Macroz
Copy link
Contributor

@Macroz Macroz commented Oct 31, 2022

We can now automatically detect if we should use color when printing.

Mostly color will be set to off when cq is used in a pipe, because a
console is not available. This can be forced on with the command-line flags.

Parsing doesn't happen on default values, so we must provide the
correct format default value.
We can now automatically detect if we should use color when printing.

Mostly color will be set to off when cq is used in a pipe, because a
console is not available. This can be forced on with the command-line flags.
@markus-wa markus-wa merged commit 9cece7f into markus-wa:main Oct 31, 2022
@Macroz Macroz deleted the autodetect-color branch October 31, 2022 17:10
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