df: fix size column padding

This commit is contained in:
Jeremy Smart 2024-05-25 16:08:23 -04:00
parent 5825c2b1b5
commit 3bc4df4075
No known key found for this signature in database
GPG key ID: 779983F4BEF2BACB

View file

@ -201,6 +201,7 @@ impl Column {
// 14 = length of "Filesystem" plus 4 spaces
Self::Source => 14,
Self::Used => 5,
Self::Size => 5,
// the shortest headers have a length of 4 chars so we use that as the minimum width
_ => 4,
}