Skip to content

Commit

Permalink
Change wrong unit, Bytes to bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperchaotic committed Aug 29, 2024
1 parent 58d6be5 commit d08aea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netmon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::config::{LineGraphColorVariant, LineGraphColors};

const MAX_SAMPLES: usize = 30;
const GRAPH_SAMPLES: usize = 21;
const UNITS: [&str; 5] = ["B", "K", "M", "G", "T"];
const UNITS: [&str; 5] = ["b", "K", "M", "G", "T"];
const UNITS_LONG: [&str; 5] = ["bps", "Kbps", "Mbps", "Gbps", "Tbps"];

#[derive(Debug)]
Expand Down

0 comments on commit d08aea1

Please sign in to comment.