-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
-width is inaccurate #31
Comments
The first column's max width is explicitly set to be .4 * tableWidth. So It might wrap around before the table uses the full width of the terminal because the column has used its full WidthMax. Lines 58 to 61 in dac0c7d
twidth is calculated using *width so when you specify -width to be larger, twidth gets larger so does the column's WithMax Lines 225 to 238 in dac0c7d
|
If I use autodetection (the default), or specify my -width to the actual terminal width, duf will wrap before it uses the full width of the terminal. However, if I specify a width much larger than the terminal, the output is fine and still (in this case) fits within the terminal.
In other words, the width seems to be internally scaled to a smaller value than the terminal actually is.
The text was updated successfully, but these errors were encountered: