yrik 0fb20a58e3 提交 4 years ago
..
index.js eec7f449c9 first commit 4 years ago
license eec7f449c9 first commit 4 years ago
package.json 0fb20a58e3 提交 4 years ago
readme.md eec7f449c9 first commit 4 years 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