chef / chef-apply

The ad-hoc execution tool for the Chef ecosystem.
https://www.chef.sh/
Apache License 2.0
14 stars 14 forks source link

Ensure cursor is always restored to visible #49

Closed marcparadise closed 6 years ago

marcparadise commented 6 years ago

Description

When an error occurs during task execution in spinner, the cursor is not restored to visibility - even running reset on the terminal will not restore it.

This commit ensures that we always restore cursor visibility even when failure occurs.

Check List