FGRibreau / spinners

🛎 60+ Elegant terminal spinners for Rust

Home Page:https://fgribreau.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function to add a symbol as well as text to the spinner

AnishDe12020 opened this issue · comments

Currently, there are two functions, one for stopping the spinner with a symbol and one for stopping it with a text. However, it would be awesome if we could supply a custom symbol as well as custom text. Theoretically, I could supply the symbol along with the message but that means more code from the user's side.

We can also have functions like succeed and fail which will have a preset symbol like a green tick or red cross.

I will also try to make a pr for this