mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-22 10:35:40 +00:00
[skip travis] Update README.
This commit is contained in:
@@ -1656,6 +1656,7 @@ impl Painter {
|
||||
|
||||
let bar_length = remaining_width / REQUIRED_COLUMNS;
|
||||
|
||||
// CPU (and RAM) percent bars are, uh, "heavily" inspired from htop.
|
||||
let cpu_bars = (0..num_cpus)
|
||||
.map(|cpu_index| {
|
||||
let use_percentage = if let Some(cpu_usage) = cpu_data[cpu_index].cpu_data.last() {
|
||||
|
||||
Reference in New Issue
Block a user