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

progress bar? #8

Open
k4y4k opened this issue Jul 17, 2022 · 3 comments
Open

progress bar? #8

k4y4k opened this issue Jul 17, 2022 · 3 comments

Comments

@k4y4k
Copy link

k4y4k commented Jul 17, 2022

hello 👋

context:
im on windows 10 and im trying to scope out how much of my drive i can clean up. windirstat crawls along, so i went looking for an alternative, and here you are 🎉

however, the thing i miss from windirstat is progress. i dont expect ds to be very fast (again, i'm on windows 10 and havent turned off antivirus) but im also not sure if its crawling along or hanging?

is there a flag im missing?

thank you for your time 🙏

@Mart-Bogdan
Copy link
Contributor

Hello.

As I udnerstand having actual progress-bar that would calculate remaining files wouldn't be feasible. You need to walk all files to get their count.

But I think it's possible to display number of already scanned files and directories.
Detect if we are run in interactive mode, and than use cursor commands to overwrite same line. And update counters once a second, to not use console output on each file, which would slow things down.

@k4y4k
Copy link
Author

k4y4k commented Oct 31, 2022

Hey!

Sounds reasonable. Unfortunately I'm not able to contribute to this project, but I do appreciate the response 🌞

Would it be a good idea for me to close this ticket for the time being, or should I leave it open?

@Mart-Bogdan
Copy link
Contributor

Hey, @k4y4k. IMHO, no need to close it.

Perhaps I'll be able to add it. After I finish, PR I am working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants