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

restore-cursor

Gracefully restore the CLI cursor on exit

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

It does nothing if run in a non-TTY context.

Install

npm install restore-cursor

Usage

import restoreCursor from 'restore-cursor';

restoreCursor();

Current Tags

  • 5.1.0                                ...           latest (2 years ago)

8 Versions

  • 5.1.0                                ...           2 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.0                                ...           5 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 1
This Week 82
This Month 117
Last Day 15
Last Week 57
Last Month 330
Dependencies (2)
Dev Dependencies (2)
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |