index.d.ts 319 B

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