tiny-cursor
A tiny library for hiding and showing the cursor in the terminal.
Last updated 5 years ago by fabiospampinato .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install tiny-cursor 
SYNC missed versions from official npm registry.

Tiny Cursor

A tiny library for hiding and showing the cursor in the terminal.

Install

npm install --save tiny-cursor

Usage

import Cursor from 'tiny-cursor';

Cursor.has (); // => true, the cursor is visible

Cursor.hide ();

Cursor.has (); // => false, the cursor is not visible

Cursor.show ();

Cursor.has (); // => true, the cursor is visible

Cursor.toggle ();

Cursor.has (); // => false, the cursor is not visible

License

MIT © Fabio Spampinato

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

3 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 8
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (6)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE