Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect usage of terminal size results in unnecessary wrapping #271

Open
766F6964 opened this issue Nov 28, 2023 · 0 comments
Open

Incorrect usage of terminal size results in unnecessary wrapping #271

766F6964 opened this issue Nov 28, 2023 · 0 comments

Comments

@766F6964
Copy link

Summary:

It seems that duf does not properly use the space available in the terminal, which results in unnecessary linebreaks.
See the following image for reference:

image

Why does the FILESYSTEM column for the require a line breaks for the root partition? There would be enough space to show it nicely in a single line.
Same with the second table, where there are unnecessary line breaks in the TYPE column? It does make sense for the column MOUNTED ON since /sys/firmware/efi/efivars is fairly long, but it shouldn't have an impact on the other columns, and only break where it makes sense.
I also don't understand why the space to the right of the tables is not utilized? It's almost as if duf thinks the terminal size is smaller than it actually is.

For reference, I use ArchLinux Gnome and the Gnome Terminal (kgx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant