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

The show_bars() demo has scrolling text at the top, how do I do that? #267

Open
3cha1n opened this issue Feb 29, 2024 · 1 comment
Open

Comments

@3cha1n
Copy link

3cha1n commented Feb 29, 2024

I can't see in the documentation how to achieve the scrolling text like we see when running the show_bars() demo. Is this scrolling text facility part of alive-progress?

@rsalmei
Copy link
Owner

rsalmei commented Mar 5, 2024

Yes, it is! It is one of the animation effects I've made into alive-progress.
There are some details in the documentation here.
Note the images with scrolling emojis, it works the same with text.

In a nutshell, you can just call:

    wait = scrolling_spinner_factory('please wait...')

and then use it directly as the spinner.

For the complete function help, just call it with a ?:
image

And finally, don't forget to try it with the .check() tool!
It's one of the parts I'm most proud of in this project.

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

2 participants