Closed ghost closed 5 years ago
Hi,
Unfortunately, I'm archiving this project and will no longer maintaining it. For more information, please read my blog post: Taking an indefinite sabbatical from my projects.
Thanks for the feedback and contribution.
I've faced it today, any chance it can be fixed? I see you still maintain this project @fatih (PRs are being merged)?
same here ☝️
https://github.com/fatih/color/issues/48#issuecomment-264389137
You have to explicitly set color.NoColor = false so that it works.
This works 😉
Hi folks. Yeah I guess this one got slipped through my archived projects, and yes I'm maintaining this actively. This is really an old issue, so would appreciate to open a new one, with a reproducable case, what you're expecting. Of top of my mind comes that the Testing packages changes the stdout/stderr pipes, so maybe you have to explicitly set that inside the color package. Again would appreciate if you could open a new issue with a reproducible case.
I tried using this within a go test function and was not able to get the color in the terminal. It works within a regular main() function.