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:
parent
74f697f6dc
commit
fdef1e738d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user