Zhouyiping 5a7c95461a first commit 3 days ago
..
index.js 5a7c95461a first commit 3 days ago
license 5a7c95461a first commit 3 days ago
package.json 5a7c95461a first commit 3 days ago
readme.md 5a7c95461a first commit 3 days ago

readme.md

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