@devteks/cursor
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@devteks/cursor

Hide, show and toggle terminal cursor

how to use

$ npm install @devteks/cursor --save

Usage:

import:

const { showCursor, hideCursor, toggleCursor } = require('@devteks/cursor');
// OR
import { showCursor, hideCursor, toggleCursor } from '@devteks/cursor';
async function main() {
    hideCursor();
    // process some thing
}

main();
// when the process exits the cursor will be shown again

Package Sidebar

Install

npm i @devteks/cursor

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • samikhaled2010
  • mosa.muhana