jmakhack / jmakhack/myanimelist-cli

[FEATURE] No ANSI color when output is not a tty

Open
#113 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.