Sha256: 5e8f60483965cd773fae2f1af6ec2e7de5b6224ec9a41c482fd8493381dc88e2

Contents?: true

Size: 365 Bytes

Versions: 48

Compression:

Stored size: 365 Bytes

Contents

# 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

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


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

Version data entries

48 entries across 46 versions & 3 rubygems

Version Path
govuk_publishing_components-18.0.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.21.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.20.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.19.1 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.19.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.18.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.17.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.16.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.15.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.14.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.13.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.12.2 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.12.1 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.12.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.11.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.10.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.9.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.8.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.7.0 node_modules/standard/node_modules/restore-cursor/readme.md
govuk_publishing_components-17.6.1 node_modules/standard/node_modules/restore-cursor/readme.md