RedEnvelope/node_modules/restore-cursor
2026-03-01 23:22:26 +08:00
..
index.d.ts build: 构建脚本更新 2026-03-01 23:22:26 +08:00
index.js build: 构建脚本更新 2026-03-01 23:22:26 +08:00
license build: 构建脚本更新 2026-03-01 23:22:26 +08:00
package.json build: 构建脚本更新 2026-03-01 23:22:26 +08:00
readme.md build: 构建脚本更新 2026-03-01 23:22:26 +08:00

restore-cursor Build Status

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

const restoreCursor = require('restore-cursor');

restoreCursor();

License

MIT © Sindre Sorhus