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

Revisit how progress bars looks when using --download #255

Open
ducaale opened this issue May 14, 2022 · 1 comment
Open

Revisit how progress bars looks when using --download #255

ducaale opened this issue May 14, 2022 · 1 comment

Comments

@ducaale
Copy link
Owner

ducaale commented May 14, 2022

This is how the current progress bar looks

⠋ 36% [#######################>------------------------------------------] 35.74MiB 17.34MiB/s ETA 4s

I wonder if getting rid of > and replacing - with . would make it look better. I am also not sure if the spinner is really needed when the download_length is known.

⠋ 39% [##########################.........................................] 39.40MiB 7.22MiB/s ETA 9s
@ducaale
Copy link
Owner Author

ducaale commented Oct 16, 2023

From @sorairolake in #326

Run http -d "https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/iso/2023.09.01/archlinux-2023.09.01-x86_64.iso":

HTTPie's progress bar

Run xh -d "https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/iso/2023.09.01/archlinux-2023.09.01-x86_64.iso":

xh's progress bar

Since the tick character is already Unicode, so I don't think there will be any problem if the progress characters is also Unicode.

Version:

$ xh -V
xh 0.18.0
$ http --version
3.2.1

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

1 participant