blob: a2f5afbc540bf3c2644449689737dabb2d42e527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 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)
|