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

Output in interactive mode gets visually corrupted when size of first 2 columns changes. #31

Closed
ghuls opened this issue Oct 11, 2019 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ghuls
Copy link

ghuls commented Oct 11, 2019

Output in interactive mode gets corrupted when scanning a big directory (200 TiB of data).

Like the first entry should be cbravo.
A lot of entries are corrupted by a dir called bvds (probably because the with of the first 2 columns changed so it didn't overwrite characters that where there.

/some/dir/with/lots/of/files_and_dirs (3 10 items)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└─  7─41─T───────██ ──dwm x ravo                                                                                                                                                                                                          ┘
    2 34 T              bvcbravo
    1 31 T   █          dsvpotier
    1.03 TB |█         |bvdsvet re
  711.71 GB |█         |cfbvds
  309.28 GB |          |  cflerin
  119.21 GB |          |  dkoldere
    1.98 GB |          |  dmauduit
    8.20 KB |          |  .DS_Store
    4.10 KB |          |  ._.DS_Store

Total disk usage: -  Entries: 10247281   -> scanning <-──
@Byron Byron added bug Something isn't working help wanted Extra attention is needed labels Feb 22, 2020
@Byron
Copy link
Owner

Byron commented Feb 22, 2020

Sorry for the late reply, my notification settings were incorrect.

I have seen this before in one way or another - maybe you can validate it's similar to what you are experiencing.

For that, clone this repository, run dua i and navigate to the directory (or its siblings).

git clone https://github.com/Byron/dua-cli && cd dua-cli
dua i

Screenshot 2020-02-22 at 09 42 39

It's known that some unicode characters are not drawing correctly.
Maybe you can figure out which directory is causing this and bundle a minimal example so it can be reproduced.

Then the issue may be fixable.

@Byron
Copy link
Owner

Byron commented Jul 6, 2020

I am closing this issue as it seems impossible to reproduce without additional help.
Please feel free to reopen once there is some time to follow up.
Thank you

@Byron Byron closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants