1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-26 12:04:50 +01:00

Align CPU and MEM to the right.

This commit is contained in:
Vojtech Pejsa 2020-05-02 20:39:21 +02:00
parent 74f697f6dc
commit fdef1e738d

View File

@ -369,8 +369,8 @@ impl Widget for ProcWidget<'_> {
} else {
proc.commandline
},
format!("{:2.1}", proc.cpu),
format!("{:2.1}", proc.mem),
format!("{:>5.1}", proc.cpu),
format!("{:>4.1}", proc.mem),
]
.into_iter(),
self.colorscheme.text,