readme.md 359 Bytes

restore-cursor

Gracefully restore the CLI cursor on exit

Prevent the cursor you've hidden interactively to remain hidden if the process crashes.

Install

$ npm install --save restore-cursor

Usage

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

License

MIT © Sindre Sorhus