This release contains design updates to Spinner which provide spin-speeds on a per-spinner basis for a better out-of-the-box experience, as well as a bugfix.
New:
- Added default spinners:
spinner.MiniDot
,spinner.Pulse
,spinner.Points
Changed:
- Type
spinner.Spinner
is now astruct
with properiesFrames []string
andFPS time.Duration
- Visual improvements to
spinner.Monkey
,spinner.Globe
, andspinner.Moon
Removed:
spinner.Bit8
Fixed:
spinner.TickMsg
is now sent on both start and update; the previous version had an internal un-exported start message which made passing messages to spinners more cumbersome