Skip to content

v0.6.1 — spinner follow-ups

Choose a tag to compare

@ralyodio ralyodio released this 13 Sep 07:16
6041d7c

Three follow-ups to the 0.6.0 spinner, each found by review and verified against the source.

reducedMotion is now real. It has been a public AppOption since 0.1.0 with nothing reading it; it now rides the render context, and the spinner, the first widget that drives its own redraws, holds its first frame and asks for no more frames under it.

A readout is drawn whole or not at all. 349/1200 cut to 34… reads as a different number, so a readout that does not fit is dropped, and a one-column remainder after the glyph stays blank instead of becoming a lone ellipsis.

align: "center" keeps the block together. It measured glyph, label and readout as one block and then pinned the readout to the right edge; the readout now sits where it was measured. Left and right still pin it to the edge.

The root README's widget list gains the spinner, matching the package README. Tests cover each change, plus the ASCII fallback and plain done mark on a terminal without Unicode.