Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use block character as cursor placeholder #222

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

natemoo-re
Copy link
Member

@natemoo-re natemoo-re commented Dec 28, 2024

Some terminals don't support the hidden escape sequence, which leaves the _ character visible. This PR switches to the character, which should work everywhere.

Unfortunately, a regular space ( ) doesn't seem to display a background color when it's the last character on a line.

Closes #127.

Copy link

changeset-bot bot commented Dec 28, 2024

🦋 Changeset detected

Latest commit: 35d12e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@clack/core Patch
@clack/prompts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Dec 28, 2024

Open in Stackblitz@example/basic@example/changesets

npm i https://pkg.pr.new/bombshell-dev/clack/@clack/core@222
npm i https://pkg.pr.new/bombshell-dev/clack/@clack/prompts@222

commit: 35d12e7

@natemoo-re natemoo-re merged commit e5ba09a into main Dec 28, 2024
6 checks passed
@natemoo-re natemoo-re deleted the fix/end-cursor branch December 28, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] when adding initiailValue there's a trailing underscore which seems to be a cursor
1 participant