refactor table system (#132)

* init table trait

* add shrink_col_index and max_width method to Table trait

* make unicodes work when shrinking

* improve readability of the table

* replace old table system with new one

* update changelog
This commit is contained in:
Clément DOUIN
2021-04-27 14:54:53 +02:00
committed by GitHub
parent cb296a5d98
commit cddb7bde37
8 changed files with 348 additions and 278 deletions
+2 -2
View File
@@ -43,11 +43,11 @@ impl<'f> ToString for Flags<'f> {
flags.push_str(if self.0.contains(&Flag::Seen) {
" "
} else {
"🟓"
""
});
flags.push_str(if self.0.contains(&Flag::Answered) {
""
""
} else {
" "
});