use 'atty' to detect when colors can be used

This commit is contained in:
Dustin J. Mitchell 2020-12-20 19:54:38 -05:00
parent 7d17740ca8
commit 8ba6277cce
3 changed files with 12 additions and 1 deletions

1
Cargo.lock generated
View file

@ -2264,6 +2264,7 @@ name = "taskchampion-cli"
version = "0.2.0"
dependencies = [
"assert_cmd",
"atty",
"config",
"dirs 3.0.1",
"env_logger",