You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
359 B
Markdown
26 lines
359 B
Markdown
6 years ago
|
# restore-cursor
|
||
|
|
||
|
> Gracefully restore the CLI cursor on exit
|
||
|
|
||
|
Prevent the cursor you've hidden interactively to remain hidden if the process crashes.
|
||
|
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```sh
|
||
|
$ npm install --save restore-cursor
|
||
|
```
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var restoreCursor = require('restore-cursor');
|
||
|
restoreCursor();
|
||
|
```
|
||
|
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT © [Sindre Sorhus](http://sindresorhus.com)
|