common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1.1k stars 98 forks source link

fix text disappearing in some instances due to spinner #424

Closed chrnorm closed 1 year ago

chrnorm commented 1 year ago

What changed?

Prints the cursor unhide sequence to ensure the cursor is shown again if the user presses Control+C or the CLI closes while a spinner is active.

Why?

Cursor was being hidden in some instances.

How did you test it?

Manual testing - verified working without impacting other CLI functionality

Potential risks

Control+C could stop working (I've verified this isn't the case)

Is patch release candidate?

Yes

Link to relevant docs PRs