UNPKG

337 BMarkdownView Raw
1# restore-cursor
2
3> Gracefully restore the CLI cursor on exit
4
5Prevent the cursor you have hidden interactively from remaining hidden if the process crashes.
6
7It does nothing if run in a non-TTY context.
8
9## Install
10
11```sh
12npm install restore-cursor
13```
14
15## Usage
16
17```js
18import restoreCursor from 'restore-cursor';
19
20restoreCursor();
21```