LendAndRegret/node_modules/restore-cursor
2026-05-02 17:27:43 +08:00
..
index.d.ts feat: 初始化模组 2026-05-02 17:27:43 +08:00
index.js feat: 初始化模组 2026-05-02 17:27:43 +08:00
license feat: 初始化模组 2026-05-02 17:27:43 +08:00
package.json feat: 初始化模组 2026-05-02 17:27:43 +08:00
readme.md feat: 初始化模组 2026-05-02 17:27:43 +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