Skip to main content

Module spinner

Module spinner 

Source
Expand description

Animated spinner and elapsed-time formatting.

Ported from the legacy TUI. current_spinner_frame cycles through braille-pattern glyphs every 100 ms. format_elapsed renders an [Instant] delta as MmSS or S.s seconds.

Functionsยง

current_spinner_frame
Return the current braille-spinner glyph based on wall-clock time.
format_elapsed
Format the time elapsed since started as a human-readable string.