Module spinner

Module spinner 

Source

Structs§

Spinner
A progress spinner.

Constants§

DEFAULT_STYLE
The spinner animation strings.
DEFAULT_TICK
How much time to wait between spinner animation updates.

Functions§

spinner
Create a new spinner with the given message. Sends animation output to stderr and success or failure messages to stdout. This function handles signals, with there being only one element handling signals at a time, and is a wrapper to spinner_to().
spinner_to
Create a new spinner with the given message, and send output to the given writers.