Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6
sindresorhus/cli-cursor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Toggle the CLI cursor
The cursor isgracefully restored if the process exits.
npm install cli-cursor
importcliCursorfrom'cli-cursor';cliCursor.hide();constunicornsAreAwesome=true;cliCursor.toggle(unicornsAreAwesome);
Useful for showing or hiding the cursor based on a boolean.
Type:stream.Writable
Default:process.stderr
About
Toggle the CLI cursor
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.