fn
fn spinner_start(msg: string)
Start a spinner with msg as the initial status. Replaces any active spinner. On a non-TTY stdout the animation is skipped and msg prints as a plain line; spinner_finish still emits its final line so log scrapers see the result.
spinner_start("compiling…");