denosaurs / wait

🌀 Minimal terminal spinner
https://deno.land/x/wait
MIT License
60 stars 5 forks source link

[BUG] Cursor is not displayed if process is exited without calling .stop() #2

Closed SteelAlloy closed 4 years ago

SteelAlloy commented 4 years ago

On Linux when pressing ctrl+c to stop the process, the cursor will not be restored.

notfilippo commented 4 years ago

This is due to deno not having clear support for signals at this time. We can listen for a quit event but it does not always fire and it's not cross platform

eliassjogreen commented 4 years ago

Yep, the deno signals don't currently support windows