bold non zero data in t list
This commit is contained in:
parent
3598f7844c
commit
b9b970f2ae
|
@ -114,10 +114,14 @@ impl<'a> Command<'a> for ListCommand {
|
|||
Col::min_width(9).and_alignment(Left),
|
||||
|
||||
// running time
|
||||
Col::min_width(9).and_alignment(Right).color_if(Style::new().dimmed(), |s| s == "0:00:00"),
|
||||
Col::min_width(9).and_alignment(Right)
|
||||
.color_if(Style::new().dimmed(), |s| s == "0:00:00")
|
||||
.color_if(Style::new().bold(), |s| s != "0:00:00"),
|
||||
|
||||
// today
|
||||
Col::min_width(9).and_alignment(Right).color_if(Style::new().dimmed(), |s| s == "0:00:00"),
|
||||
Col::min_width(9).and_alignment(Right)
|
||||
.color_if(Style::new().dimmed(), |s| s == "0:00:00")
|
||||
.color_if(Style::new().bold(), |s| s != "0:00:00"),
|
||||
|
||||
// accumulated
|
||||
Col::min_width(12).and_alignment(Right),
|
||||
|
|
Loading…
Reference in New Issue