make use of termcolor crate to disable colors (#236)

* table: replace custom color by termcolor

* table: deactivate colors if not tty

* table: rename printable to print, add more comments

* table: make use of writters, fix tests

* doc: update changelog

* doc: add page to wiki
This commit is contained in:
Clément DOUIN
2021-10-24 00:17:12 +02:00
committed by GitHub
parent 09d3de5e6f
commit 192445d7e4
11 changed files with 303 additions and 247 deletions
Generated
+1
View File
@@ -381,6 +381,7 @@ dependencies = [
"serde",
"serde_json",
"shellexpand",
"termcolor",
"terminal_size",
"toml",
"tree_magic",