-
Notifications
You must be signed in to change notification settings - Fork 594
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
Disabling terminal output coloring #1893
Comments
Hi @tchaumeny we are currently looking to update a library to use Bubbletea, which will support that option. However, if you're looking to use the tools with logs, a better option might be using |
Curious! what shell and terminal emulator are you using? And what is the value of the |
The shell is zsh on macos native Terminal, and |
ah! that's helpful, I think I know where the problem is. Our logger has been configured to always enforce color, we can adjust that. |
I believe this was fixed by intermediate development, since the fix in anchore/clio#14 was pulled into syft in #2001. With color on: With @tchaumeny Thanks for reporting this issue! Please let us know if we've missed something. |
What would you like to be added:
I couldn't find a way to disable the terminal coloring of output.
Usually, this is achievable by setting the env variable
NO_COLOR=1
, which has no effect with Syft.Why is this needed:
This is useful when syft output is processed outside of the terminal.
The text was updated successfully, but these errors were encountered: