jmakhack / jmakhack/myanimelist-cli
[FEATURE] No ANSI color when output is not a tty
Open
C
enhancement
up for grabs
- Dominant language
- C
- Stars
- 12
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
When you use `mya` it prints colors, even though the output is not a tty, i.e. an interactive user session. If you pipe the output through an another program, such as `cat` or `grep`, or to a file, then the colors should not be there.
Contributor guide
Assessment
This issue has not been assessed yet.