1.0.0 • Published 2 years ago

cursor-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Cursor-cli

A library for toggling the CLI cursor in the terminal.

Install

Get it on npm

npm install cursor-cli

Get it on yarn

yarn add  cursor-cli

Usage

import Cursor from "cursor-cli";

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 © License