om/node_modules/restore-cursor
2018-11-22 16:41:46 +01:00
..
index.js Fix EsLint Brackets (error markup 'const'). 2018-11-22 16:41:46 +01:00
license Fix EsLint Brackets (error markup 'const'). 2018-11-22 16:41:46 +01:00
package.json Fix EsLint Brackets (error markup 'const'). 2018-11-22 16:41:46 +01:00
readme.md Fix EsLint Brackets (error markup 'const'). 2018-11-22 16:41:46 +01: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