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

Printed output broken in windows terminal and git bash (and possibly others) #55

Open
fiso64 opened this issue Aug 30, 2024 · 0 comments

Comments

@fiso64
Copy link
Owner

fiso64 commented Aug 30, 2024

Progress bars and percentage lines are often not updated and sometimes overlap in windows terminal once the last line is reached and the view needs to be scrolled. Pressing enter until the view in windows terminal starts to scroll, then starting sldl with a normal download with multiple tracks gives broken output.

In git bash, nothing is displayed at all.

The developer of the progress bar library used by sldl has no plans to fix it: goblinfactory/progress-bar#3

I was unable to create a suitable alternative myself, nor find any library that

  1. Supports multiple bars at once and is thread-safe
  2. Supports continuously adding new bars
  3. Is reliable (e.g: does not misbehave when a bar is scrolled out of view)
  4. Works in all common terminals on both linux and windows
@fiso64 fiso64 changed the title Progress bar output broken in windows terminal and git bash Progress bar output broken in windows terminal and git bash (and possibly others) Aug 30, 2024
@fiso64 fiso64 changed the title Progress bar output broken in windows terminal and git bash (and possibly others) Printed output broken in windows terminal and git bash (and possibly others) Sep 2, 2024
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