platform-tooling/run/node_modules/restore-cursor
Quinn Ftw 85621b287e chore: snapshot before monorepo consolidation
Capture current working state before converting platform-tooling
into a submodule of the lilith-platform monorepo.
2026-01-29 07:04:39 -08:00
..
index.d.ts chore: snapshot before monorepo consolidation 2026-01-29 07:04:39 -08:00
index.js chore: snapshot before monorepo consolidation 2026-01-29 07:04:39 -08:00
license chore: snapshot before monorepo consolidation 2026-01-29 07:04:39 -08:00
package.json chore: snapshot before monorepo consolidation 2026-01-29 07:04:39 -08:00
readme.md chore: snapshot before monorepo consolidation 2026-01-29 07:04:39 -08:00

restore-cursor

Gracefully restore the CLI cursor on exit

Prevent the cursor you have hidden interactively from remaining hidden if the process crashes.

It does nothing if run in a non-TTY context.

Install

npm install restore-cursor

Usage

import restoreCursor from 'restore-cursor';

restoreCursor();