summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/restore-cursor/readme.md
blob: c224a2904cc9bd943319b430e3529dd078fa0a69 (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
26
# restore-cursor [![Build Status](https://travis-ci.org/sindresorhus/restore-cursor.svg?branch=master)](https://travis-ci.org/sindresorhus/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 restore-cursor
```


## Usage

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

restoreCursor();
```


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)