cjbassi/ytop

ytop graphics have broken spacing compared to gotop

Closed this issue · 6 comments

ytop graphics have a quirk, the points seem to be improperly spaced when the terminal window is maximized.

Example:

This is gotop running at the same time:

Required information:

  • ytop version (ytop -V): ytop v0.4.2 (https://github.com/cjbassi/ytop#f86926c7)
  • The output of uname -a: Linux Dianakko 5.4.17-1-MANJARO #1 SMP PREEMPT Tue Feb 4 11:40:50 UTC 2020 x86_64 GNU/Linux

Include any of the following information if relevant:

  • Terminal emulator (e.g. iTerm or gnome terminal): Gnome Terminal 3.34.2
  • tmux version (tmux -V): N/A
  • Any relevenat hardware info: N/A

Please copy or attach ~/.local/state/ytop/errors.log if it exists and contains logs: N/A

Confirmed, I have that too.

same
image

It can be hidden sort of, if you change the scale with h and l

new graphs are awful compared to the good-ol' gotop: they have broken spacing and they are flickering (when graph moves dots are changing their positions)
image

I think this is fixed in the latest release of tui. There were some breaking changes in the latest release, so it's going to take some work to upgrade. See #69 for an issue relating to upgrading tui.

Should be fixed in the latest release!

I can confirm it's fixed 👏