Skip to content

Commit

Permalink
fix: ensure to restore cursor after clear spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 10, 2021
1 parent 82bee5b commit f1c84da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
const stop = () => {
clearInterval(interval)
spinner.clear()
process.stderr.write('\u001B[?25h')
return elapsedTime()
}

Expand Down

0 comments on commit f1c84da

Please sign in to comment.