1 | /**
|
2 | Gracefully restore the CLI cursor on exit.
|
3 |
|
4 | Prevent the cursor you have hidden interactively from remaining hidden if the process crashes.
|
5 |
|
6 | It does nothing if run in a non-TTY context.
|
7 |
|
8 | @example
|
9 | ```
|
10 | import restoreCursor from 'restore-cursor';
|
11 |
|
12 | restoreCursor();
|
13 | ```
|
14 | */
|
15 | export default function restoreCursor(): void;
|