AshlinHarris / Spinners.jl

Command line spinners in Julia with Unicode support
MIT License
14 stars 1 forks source link

Redirect output from user function #106

Closed AshlinHarris closed 1 year ago

AshlinHarris commented 1 year ago

Realistically, the user function could print to stdout as soon as it elapses, which would interfere with cleanup. The tests already incorporate stdout redirection, so it should be possible to redirect function output to a buffer, displaying it only after the spinner has been cleared.

AshlinHarris commented 1 year ago

15