UNPKG

497 BMarkdownView Raw
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
5Prevent 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
18const restoreCursor = require('restore-cursor');
19
20restoreCursor();
21```
22
23
24## License
25
26MIT © [Sindre Sorhus](https://sindresorhus.com)