$ gnpm install tiny-cursor
A tiny library for hiding and showing the cursor in the terminal.
npm install --save tiny-cursor
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
MIT © Fabio Spampinato
Copyright 2013 - present © cnpmjs.org | Home |