mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
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:
+2
-2
@@ -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 {
|
||||
" "
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user