1 | # restore-cursor [![Build Status](https://travis-ci.org/sindresorhus/restore-cursor.svg?branch=master)](https://travis-ci.org/sindresorhus/restore-cursor)
|
2 |
|
3 | > Gracefully restore the CLI cursor on exit
|
4 |
|
5 | Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
|
6 |
|
7 |
|
8 | ## Install
|
9 |
|
10 | ```
|
11 | $ npm install restore-cursor
|
12 | ```
|
13 |
|
14 |
|
15 | ## Usage
|
16 |
|
17 | ```js
|
18 | const restoreCursor = require('restore-cursor');
|
19 |
|
20 | restoreCursor();
|
21 | ```
|
22 |
|
23 |
|
24 | ## License
|
25 |
|
26 | MIT © [Sindre Sorhus](https://sindresorhus.com)
|