-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Details view sticks WC settings atop border #6
Comments
It looks like there's a linefeed in the serial number. |
Normalizing all space characters to spaces improves things, but now the WC stuff is over by one character. |
We did indeed have an incorrect calculation of remaining space. That's fixed, but now we don't print it at all when the full 20 characters are being used. That's acceptable, I guess, but in the instance above we've just got trailing spaces. Trim them out at the point of the ioctl(). |
I've got this fixed up for NVMe, but we should make it work the same way for regular disks. Lift out the presentation function and call it from sg_interrogate(). |
Look at the details view here. What's up with the spacing? Did we let a tab through or something?
Note that this is also mentioned in #4. Use this bug to track the fix.
The text was updated successfully, but these errors were encountered: