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

Hope to display the percentage of progress #971

Open
zsz00 opened this issue Jun 28, 2024 · 1 comment
Open

Hope to display the percentage of progress #971

zsz00 opened this issue Jun 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zsz00
Copy link

zsz00 commented Jun 28, 2024

~$ juliaup up
Installing Julia 1.11.0-rc1+0.x64.linux.gnu
Downloading: [===========> ] 142.84 MiB/239.31 MiB eta: 2m

Hope to display the percentage of progress:
Downloading: 63% [===========> ] 142.84 MiB/239.31 MiB eta: 2m

@davidanthoff davidanthoff added the enhancement New feature or request label Jun 28, 2024
@christiangnrd
Copy link
Contributor

This would be a very easy PR. Just change this line to

.template("{prefix:.cyan.bold} {percent}% [{bar}] {bytes}/{total_bytes} eta: {eta}")

However, this seems a bit busy to me. Do we really need both percentage and bytes? Plus having the percentage of the left makes the progress bar move when the number of digits changes.

Personally, I prefer the bar how it is with the bytes.

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

No branches or pull requests

3 participants