Forcing colors when writing to file #138
Answered
by
obfusk
rasmus-kirk
asked this question in
Q&A
|
Hi, I am using jiten as a terminal program for learning Japanese, recently I wanted to get a "word of the day" in my terminal. So I run a cron job every 10 minutes that checks if the date has changed and if it has, it updates the word. This does work as intended but I ran into issues when I wanted to also save the color to a file. I tried using both So, can I force color somehow when outputting to a file? |
Answered by
obfusk
Jun 20, 2021
Replies: 1 comment 2 replies
|
As $ jiten --colour jmdict +random |
2 replies
Answer selected by
obfusk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
jiten --helpwill tell you, you can use--colour(before the subcommand) :)