You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not positive on what a TTY is, but I'm pretty sure it's just when you're using an interactive terminal, and I think this library automatically disables coloring when you're not in a TTY.
I set up CI for this project earlier and was experiencing a similar issue - could you try setting CLICOLOR_FORCE=1 in your service file and see if that fixes things up?
I'm in the middle of getting all of the issues in this repository checked at, if this isn't relevant to you anymore just let me know so I can get it closed up.
I am working with Linux daemons which output stdout to journalctl.
I can see colors in C++ sample but not in Rust Sample with Colored 2.0.0
Not working sample
Working Sample
Service files
Observe output
journalctl -u test_cpp.service -fo cat
journalctl -u test_rust.service -fo cat
Output
But when running
/home/phantom-il-alex/development/color_test/target/debug/color_test
as is, the colors are shown
Thanks!
The text was updated successfully, but these errors were encountered: