briandowns / spinner

Go (golang) package with 90 configurable terminal spinner/progress indicators.
Apache License 2.0
2.35k stars 130 forks source link

Weird cursor movements at any speed in fast terminals #106

Open gleich opened 3 years ago

gleich commented 3 years ago

As you can see from the gif below I am getting this weird cursor movement in fast terminals like alacritty. This happens at any speed but the example below is 100 * time.Milliseconds with char set 14.

Screen Recording 2020-11-30 at 12 34 29 AM

briandowns commented 3 years ago

What OS?

Is the behavior the same with a shorter suffix?

Does this happen with other char sets?

gleich commented 3 years ago

Thank you for the quick response!

I am on macOS, it does happen with a shorter suffix (as seen below), it also happens with all char sets.

Screen Recording 2020-11-30 at 9 35 20 PM

theckman commented 2 years ago

Not to shill my own project, but I've been going over some of the open issues here to see if the spinner I've implemented has any of the same limitations.

I wasn't able to reproduce this on my macOS system with alacritty, but wondered if you could give mine a try and raise an issue if it does it as well: https://pkg.go.dev/github.com/theckman/yacspin

Integralist commented 1 year ago

I've noticed this too btw and I'm also using Alacritty 😞 .