Files
2017-12-13 16:59:02 +00:00
..
2017-06-21 22:43:32 +02:00
2016-01-13 23:15:39 +01:00
2017-12-13 16:59:02 +00:00
2017-06-21 22:43:32 +02:00

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