diff options
author | Piotr Wach <pwach@bloomberg.net> | 2023-11-19 21:57:12 +0000 |
---|---|---|
committer | Piotr Wach <pwach@bloomberg.net> | 2023-11-19 21:57:12 +0000 |
commit | b3bb85177d2fc4b299a9d82313832be96b34c3b6 (patch) | |
tree | d2c0106bfd0154a8e7fdf45059ef50c430d78f19 | |
parent | 8c02612887a49d72244327c9bf7940ff8fa507e6 (diff) |
Fixes alignment when in interactive mode and -f binary
-rw-r--r-- | src/common.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs index ab71426..ccf3652 100644 --- a/src/common.rs +++ b/src/common.rs @@ -39,7 +39,8 @@ impl ByteFormat { pub fn width(self) -> usize { use ByteFormat::*; match self { - Metric | Binary => 10, + Metric => 10, + Binary => 11, Bytes => 12, MiB | MB => 12, _ => 10, |