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

Feature: conditional colors #3

Open
2 tasks
t0pd4wn opened this issue Feb 27, 2024 · 0 comments
Open
2 tasks

Feature: conditional colors #3

t0pd4wn opened this issue Feb 27, 2024 · 0 comments
Assignees

Comments

@t0pd4wn
Copy link
Owner

t0pd4wn commented Feb 27, 2024

At the moment, colors are always applied, unless the -R (raw) option is set. Colors should be applied only when not called from a subshell, to not mess with the final output.

  • implement a check for subshell execution
  • implement an extra -Coption to force colors if needed in the output
@t0pd4wn t0pd4wn self-assigned this Feb 27, 2024
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