tiny-cursor
v2.0.1
Published
A tiny library for hiding and showing the cursor in the terminal.
Maintainers
Readme
Tiny Cursor
A tiny library for hiding and showing the cursor in the terminal.
Install
npm install tiny-cursorUsage
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 visibleLicense
MIT © Fabio Spampinato
