wishthis/node_modules/restore-cursor
2022-02-23 17:41:13 +01:00
..
index.js Add production dependencies 2022-01-21 09:28:41 +01:00
license Add production dependencies 2022-01-21 09:28:41 +01:00
package.json Update dependencies 2022-02-23 17:41:13 +01:00
readme.md Add production dependencies 2022-01-21 09:28:41 +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