Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Toggle the CLI cursor

License

NotificationsYou must be signed in to change notification settings

sindresorhus/cli-cursor

Toggle the CLI cursor

The cursor isgracefully restored if the process exits.

Install

npm install cli-cursor

Usage

importcliCursorfrom'cli-cursor';cliCursor.hide();constunicornsAreAwesome=true;cliCursor.toggle(unicornsAreAwesome);

API

.show(stream?)

.hide(stream?)

.toggle(force?, stream?)

force

Useful for showing or hiding the cursor based on a boolean.

stream

Type:stream.Writable
Default:process.stderr

About

Toggle the CLI cursor

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp