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

4.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 restore-cursor

Usage

import restoreCursor from 'restore-cursor';

restoreCursor();

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Package Sidebar

Install

npm i restore-cursor@4.0.0

Version

4.0.0

License

MIT

Unpacked Size

3.23 kB

Total Files

5

Last publish

Collaborators

  • sindresorhus