Smith::UI::Spinner
Constants
FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]
Class methods
frame(now_ms : Int64 = Time.utc.to_unix_ms) : String
Time-driven via the wall clock — the frame only needs to change at a steady rate, and using the clock keeps redraw frequency irrelevant. The math stays in Int64: unix milliseconds do not fit into an Int32.