kylin-calculator/node_modules/restore-cursor
谢炜 7c2f960ba3 Import Upstream version 1.2.0.0 2022-06-22 18:40:34 +08:00
..
index.js Import Upstream version 1.2.0.0 2022-06-22 18:40:34 +08:00
license Import Upstream version 1.2.0.0 2022-06-22 18:40:34 +08:00
package.json Import Upstream version 1.2.0.0 2022-06-22 18:40:34 +08:00
readme.md Import Upstream version 1.2.0.0 2022-06-22 18:40:34 +08:00

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