Open janoskut opened 4 years ago
Finding it hard to figure out what's going on;
Interestingly enough, if you build from source you don't get this issue.
I initially did sudo apt install usbtop
, and reproduced the issues that we found above. Looking at source code, I thought I could just s/\t/ /g
over the repo and be good to go.
After cloning, I tried an initial build just to make sure I wasn't mucking anything up, and when I ran my build, everything was aligned properly.
This is perhaps some linux / compilation thing? I don't know enough about this sort of stuff to say off the top of my head. For reference,
pi@raspberrypi:~/Documents/usbtop $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
I'm on Arch Linux. usbtop
is avaliable to install through the AUR, usbtop and usbtop-git. Both of these are a "build from source" AUR entry. I tried usbtop-git
first and that aligns correctly. Then I tried usbtop
and that has the problem. I surmise the problem is fixed but there hasn't been a release since.
Ah! OK that tracks. Cheers!
I think this was fixed by #32.
@aguinet can you please make a new release?
The output alignment isn't aligned in all terminals and editors:
Seems to be aligned on github:
Not aligned in terminator or ubuntu terminal:
Not aligned in Sublime Text: