-
Notifications
You must be signed in to change notification settings - Fork 220
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
--no-colors
does not disable all colorized output
#581
Comments
Hey! |
It is currently documented as "disable colored output", so I thought it'd apply to all colors, no matter the implementation detail whether that's marked up or part of an icon. With the current description I'd say this is a bug, but the fix might be to fix the description, for example "disable colored text output". Then again, I don't know if there's a deeper reasoning why colors are disabled, and if it's about colors or some escape sequences that might not work nicely everywhere. But if it's about colors in particular, then I'd think colors should be disabled no matter where they come from. Not a biggie at all though, just a bit surprising. |
@mrexox The text is also colored. |
Hmm, probably some subcommands use colorized output? |
I hope that PR #812 will fix the color-specific issues |
🔧 Summary
Per the subject.
Lefthook version
1.5.2
Steps to reproduce
Expected results
No colors in output, just the configured terminal colors.
Actual results
Some colors remain, e.g. in the lefthook icon and the last summary line status icon.
Possible Solution
Logs / Screenshots
The text was updated successfully, but these errors were encountered: