pmonks / spinner

Progress indicators for command line Clojure apps, including support for indeterminate and determinate tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for further output while a spinner is in progress

pmonks opened this issue · comments

Currently the spinner assumes it has exclusive access to stdout for the duration of the spin, meaning that programs that produce multiple lines of output have to create, start and stop a spinner for each line of output, if they don't want to produce a garbled display.

This is unnecessarily onerous - spinner should provide a means by which further output can be written, while not garbling the screen with partial spinner output.