25 lines
365 B
Markdown
25 lines
365 B
Markdown
# 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
|
|
|
|
```js
|
|
const restoreCursor = require('restore-cursor');
|
|
restoreCursor();
|
|
```
|
|
|
|
|
|
## License
|
|
|
|
MIT © [Sindre Sorhus](https://sindresorhus.com)
|