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

View File

@@ -13,6 +13,7 @@ nom = "*"
prettytable-rs = "^0.8.0"
textwrap = "0.12.1"
termcolor = "1.1.2"
atty = "0.2.14"
[dependencies.config]
default-features = false