You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
497 B

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