Gracefully restore the CLI cursor on exit
npm install cursor-restore@1.0.4
Gracefully restore the CLI cursor on exit
Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
$ npm install --save cursor-restore
const cursorRestore = require('cursor-restore');
cursorRestore();
MIT © Yoginth