-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add progress bar to CLI #370
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
feat: add progress bar to CLI #370
Conversation
Tested: - Ran clean install, saw progress bar and no artifacts, and after OD completed, could interact with terminal again
|
Any thoughts on avoiding curses? https://stackoverflow.com/questions/3173320/text-progress-bar-in-terminal-with-block-characters |
|
This needs the fixes found in #379. Please rebase on latest main for testing. |
Found some other articles as well, and after removing an unused feature I added, curses isn't needed |
thw26
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got this when downloading. Can we either overwrite the Downloading… line or can we tell the program to print only if the message is different?
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Downloading wine-stable_10.0-x86_64.AppImage…
Verifying /home/thwright/.cache/FaithLife-Community/wine-stable_10.0-x86_64.AppImage…
Woops that check was in there at some point, added back. Tested:
|
It should be noted this restricts the CLI to only working on *NIX system - as it uses curses
Tested: