christian 4571a14169 android fix | vor 4 Jahren | |
---|---|---|
.. | ||
index.js | vor 4 Jahren | |
license | vor 4 Jahren | |
package.json | vor 4 Jahren | |
readme.md | vor 4 Jahren |
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