2022-05-29 09:24:36 +00:00
|
|
|
# restore-cursor
|
2022-01-21 08:28:41 +00:00
|
|
|
|
|
|
|
> Gracefully restore the CLI cursor on exit
|
|
|
|
|
|
|
|
Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
|
|
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
2022-05-29 09:24:36 +00:00
|
|
|
$ npm install --save restore-cursor
|
2022-01-21 08:28:41 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
const restoreCursor = require('restore-cursor');
|
|
|
|
restoreCursor();
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT © [Sindre Sorhus](https://sindresorhus.com)
|