wishthis/node_modules/restore-cursor
2022-05-29 11:24:36 +02:00
..
index.js Update dependencies 2022-05-29 11:24:36 +02:00
license Update dependencies 2022-05-29 11:24:36 +02:00
package.json Update dependencies 2022-05-29 11:24:36 +02:00
readme.md Update dependencies 2022-05-29 11:24:36 +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