-
Notifications
You must be signed in to change notification settings - Fork 83
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
Enable Colors on Mac Terminal #96
Comments
Also running MacOS Catalina, is working smoothly for me in terminal. Is it possible that your terminal profile has the ANSI colour setting turned off? |
Same issue on Windows, any luck so far? |
@Dot32IsCool ANSI color is enabled under preferences. Thanks for the tip though. |
Thanks for the update @joshzeldin |
Hi everyone, Using this stackoverflow answer, I want what does the following script print ? curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash |
For me, the "s".truecolor() methods do not work as expected on macOS Terminal, but the color-specific methods (e.g., "s".green()) work perfectly. As has been mentioned, in the VSCode terminal, everything works across the board as far as I can tell. |
I seem to be in the same situation as usefulmove. Here is the output for that colors script: And here is a demonstration of this crate's output for my terminal: Code for the above:
It looks like the |
I'm struggling to get colors working on Mac OS (Catalina) when running through Terminal. I can get other CLIs with colors to display (e.g. ls, git, etc.), but colors coming from the colored package don't show up.
If I run the same thing through VS Code's terminal, the colors do show up.
Are you aware of any settings I need play with to get this working or limitations of the default terminal? I have tried these with no luck:
I'm using the following:
Thanks and I'm really enjoying the crate!
The text was updated successfully, but these errors were encountered: