restore-cursor
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i restore-cursor@1.0.1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • sindresorhus