Import std.term.widgets
Spinner
class
Public Class Spinner
A spinner, on a line of its own, whose frame turns each Interval, with its Message after it, for work whose end isn't known. Tick draws it again when its frame or message has changed, on an interactive terminal; on another, only its Finish's line is written. It goes to stderr, or to a Terminal given. What reads the clock also takes an Instant, so a test gives the time.
-
What it shows, one frame after another.
-
What goes after it.
-
How long each frame shows.
-
How its frame looks.
-
A spinner on stderr, from now.
-
A spinner on
terminal, from now. -
A spinner on
terminal, fromstart. -
Whether a Finish has written its last line.
-
Draws it again, when its frame or its message has changed since it last was.
-
Draws it again at
now, when its frame or its message has changed. -
Takes it away, and writes
texton its line, which ends. -
Finishes it with a green ✔ before
text. -
Finishes it with a red ✖ before
text.
Report an issue with this page or with FutureBlitz on GitHub.