Files
2026-05-15 08:32:45 +02:00
..
2026-05-15 08:32:45 +02:00
2026-05-15 08:32:45 +02:00
2026-05-15 08:32:45 +02:00
2026-05-15 08:32:45 +02:00
2026-05-15 08:32:45 +02:00
2026-05-15 08:32:45 +02:00

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.