test/node_modules/restore-cursor
罗佳鸿 f2b259b599 vuepress初始模板 2024-08-13 09:27:52 +08:00
..
node_modules/signal-exit vuepress初始模板 2024-08-13 09:27:52 +08:00
index.d.ts vuepress初始模板 2024-08-13 09:27:52 +08:00
index.js vuepress初始模板 2024-08-13 09:27:52 +08:00
license vuepress初始模板 2024-08-13 09:27:52 +08:00
package.json vuepress初始模板 2024-08-13 09:27:52 +08:00
readme.md vuepress初始模板 2024-08-13 09:27:52 +08: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.