You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

359 B

restore-cursor

Gracefully restore the CLI cursor on exit

Prevent the cursor you've hidden interactively to remain hidden if the process crashes.

Install

$ npm install --save restore-cursor

Usage

var restoreCursor = require('restore-cursor');
restoreCursor();

License

MIT © Sindre Sorhus