node/tools/node_modules/eslint/node_modules/restore-cursor
Yuta Hiroto 8c6d1a0686 tools: update ESLint to 5.2.0
PR-URL: https://github.com/nodejs/node/pull/21817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-07-28 06:05:49 -07:00
..
index.js tools: move eslint from tools to tools/node_modules 2018-01-11 09:48:05 +01:00
license tools: move eslint from tools to tools/node_modules 2018-01-11 09:48:05 +01:00
package.json tools: update ESLint to 5.2.0 2018-07-28 06:05:49 -07:00
readme.md tools: move eslint from tools to tools/node_modules 2018-01-11 09:48:05 +01:00

restore-cursor

Gracefully restore the CLI cursor on exit

Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.

Install

$ npm install --save restore-cursor

Usage

const restoreCursor = require('restore-cursor');
restoreCursor();

License

MIT © Sindre Sorhus