Files
wangxiaowei 5d7b75a14e first commit
2025-12-09 13:35:21 +08:00
..
2025-12-09 13:35:21 +08:00
2025-12-09 13:35:21 +08:00
2025-12-09 13:35:21 +08:00
2025-12-09 13:35:21 +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 --save restore-cursor

Usage

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

License

MIT © Sindre Sorhus