Skip to content

Latest commit

 

History

History

restore-cursor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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