Skip to content
Gracefully restore the CLI cursor on exit
Branch: master
Clone or download
Latest commit 0a0d317 Jan 9, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
index.js
license
package.json
readme.md

readme.md

restore-cursor

Gracefully restore the CLI cursor on exit

Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.

Install

$ npm install --save restore-cursor

Usage

const restoreCursor = require('restore-cursor');
restoreCursor();

License

MIT © Sindre Sorhus

You can’t perform that action at this time.