christian 4571a14169 android fix | 3 anni fa | |
---|---|---|
.. | ||
index.js | 3 anni fa | |
license | 3 anni fa | |
package.json | 3 anni fa | |
readme.md | 3 anni fa |
Toggle the CLI cursor
The cursor is gracefully restored if the process exits.
$ npm install --save cli-cursor
const cliCursor = require('cli-cursor');
cliCursor.hide();
const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);
force
is useful to show or hide the cursor based on a boolean.
Type: Stream
Default: process.stderr
MIT © Sindre Sorhus