1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

Merge pull request #3480 from cakebaker/set_min_width_for_used_column

df: set min width of "Used" column to 5
This commit is contained in:
Sylvestre Ledru 2022-05-05 07:59:45 +02:00 committed by GitHub
commit e06fe3c8f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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