1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/cli-cursor
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
index.js i4 2023-12-18 13:12:25 +08:00
license i4 2023-12-18 13:12:25 +08:00
package.json 删除无关模块 2024-01-16 21:26:16 +08:00
readme.md i4 2023-12-18 13:12:25 +08:00

readme.md

cli-cursor Build Status

Toggle the CLI cursor

The cursor is gracefully restored if the process exits.

Install

$ npm install --save cli-cursor

Usage

const cliCursor = require('cli-cursor');

cliCursor.hide();

const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);

API

.show()

.hide()

.toggle(force)

force is useful to show or hide the cursor based an a boolean.

License

MIT © Sindre Sorhus