restore-cursor
Gracefully restore the CLI cursor on exit
Last updated a year ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install restore-cursor 
SYNC missed versions from official npm registry.

restore-cursor Build Status

Gracefully restore the CLI cursor on exit

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

Install

$ npm install restore-cursor

Usage

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

restoreCursor();

License

MIT © Sindre Sorhus

Current Tags

  • 3.1.0                                ...           latest (a year ago)

5 Versions

  • 3.1.0                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.0                                ...           3 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago

Copyright 2014 - 2016 © taobao.org |