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

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i restore-cursor@2.0.0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • sindresorhus