lihai 8d6c751f49 feat: push | 2 years ago | |
---|---|---|
.. | ||
index.js | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago |
Gracefully restore the CLI cursor on exit
Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
$ npm install --save restore-cursor
const restoreCursor = require('restore-cursor');
restoreCursor();
MIT © Sindre Sorhus