tiny-cursor
A tiny library for hiding and showing the cursor in the terminal.
Last updated 3 years ago by fabiospampinato .
Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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.0                                ...           latest (3 years ago)

2 Versions

  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |