-
-
Notifications
You must be signed in to change notification settings - Fork 119
Add Check for PASTEL_COLOR_MODE if COLORTERM is empty or NOT in truecolormode #140
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
Conversation
Thank you for your contribution! I don't think that's quite the behavior we want. Lines 44 to 89 in 17c5ce0
which does the right thing for the normal output (just not for STDERR, which is used in |
build error is unrelated to your branch. I will fix this in #141 |
Okay I think I got a bit more understanding of requirements now. Initially I was thinking one of them has to be set. I will take a look at the file you mentioned and try to rewire it according to that. I was a bit confused because this code snippet you linked also uses the same function (as fallback) which the STDERR uses. So I thought just adding another check for PASTEL env would be enough. I think I was totally on the wrong path with this completely. Please give me some more time to fix this and also read a bit more thoroughly the code in general. |
I'm closing this due to inactivity. Please feel free to comment in case it should be re-opened. |
#121 @sharkdp
Hopefully this should solve the issue. What do you think? It is a bit hacky , but... should work for all cases where COLORMODE is absent.
EDIT: attached the wrong screenshot.