spinners
spinners copied to clipboard
🛎 60+ Elegant terminal spinners for Rust
Added colors for spinners. I didn't really like the `termcolor` library you recommended, and instead went with a simpler variant. Everything is tested and examples are updated.
This commit adds an `on_drop` method to Spinner, the method is a "Builder method" (called on a Spinner taking ownership and returns a new Spinner instance). The existing Spinner API...
Hi. It would be nice an option allowing to change the spinner color, something like [ora](https://github.com/sindresorhus/ora) does:  cheers
```rust let sp = spinners::Spinner::new( spinners::Spinners::Dots9, "Checking for a new version".into(), ); let v = get_version(); sp.stop(); println!("{}", "all done!"); ``` Outputs: ``` $ ./my-binary ⢼ Checking for a new...
Would you be interested in having GA workflows being added to the repository? I could provide you these workflows: - CI workflow triggered on PRs: - Does formatting checking -...
Hi, Say, the second console column, instead of the first one by default. It looks like `SpinnerBuilder` is responsible for customization, but it is unavailable in the `spinners` context. Or...
There is currently no way to update the text in the spinner, would be nice.
When we create a spinner with `Spinner::with_timer`, after issuing a `stop` I'd like to add a message with the final timer : Eg: `Took xx seconds` or even access the...
Adds a new ratatui widget behind a ratatui feature flag. Implemented backed by an Arc which is cleared anytime there's new info to be printed.