-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Error color makes text unreadable #8483
Comments
On the Windows console, you can reset the color if it doesn't revert by typing |
@tjprescott - is the DarkRed color that is being displayed (that is not in my console's settings for errors) coming from this utility or from Python? |
Well, the colors are set from within the Knack library's logging methods. The implementation there uses the colorama library. There may be some platform differences there in how each color is interpreted (for example, the color for errors is designated as RED, not dark red). However, raw errors might be set by Python itself or otherwise be a property of the shell. We could explore making the colors customizable in the config file. In the meantime, my suggestion would be to tweak your shell's background color to something that shows better contrast. |
@tjprescott - found the Knack lib and piggybacked the issue. EDIT for manners: Thanks for the nudge in the right direction. Can this be left open until that is fixed and integrated here? |
Yes, we also maintain knack, so thank you for opening the issue there. I'm not certain that that fix alone will address everything, but it should be a step in the right direction. |
Conceptually, maybe we can add an option to |
This issue has been fixed. Please see #6080 (comment) for the solution. |
Piping the output though cat to stop isatty detection is more of a workaround than a fix. |
Describe the bug
I cant read errors using the default console colors for windows 10.
I expect to be able to read the error messages when displayed using the defaults for windows 10 console without having to resort to using screenshots and MS Paint's paintbucket to read them (like this)
Environment summary
Windows 10, usual updates.
Additional context
Its also caused everything else typed into this prompt to now be unreadable, but I see that is a different bug reported here already.
The text was updated successfully, but these errors were encountered: