AshlinHarris / Spinners.jl

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

Ensure spinner is always terminated #19

Closed AshlinHarris closed 1 year ago

AshlinHarris commented 1 year ago

I removed all the try; finally; end blocks, since these altered the scope of the user's expression, causing something like @ spinner x=4; println(x) to fail. How can I ensure that the spinner is always terminated if the user's expression is interrupted?

AshlinHarris commented 1 year ago

4a9cb62d8d142a4b4bbbe5bfb8d779cea4c5fd8b