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
[x] New functionality includes tests
[x] All tests pass
[x] PR title is a worthy inclusion in the CHANGELOG
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