Skip to content

feat: add invert selection for multiselect prompt #358

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

Merged
merged 3 commits into from
Aug 12, 2025

Conversation

hyperz111
Copy link
Contributor

@hyperz111 hyperz111 commented Jul 19, 2025

Create invert selection in multiselect by pressing i key like inquirer and enquirer.

Copy link

changeset-bot bot commented Jul 19, 2025

🦋 Changeset detected

Latest commit: 3d58aad

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

@tefkah
Copy link

tefkah commented Jul 23, 2025

great idea, would work well with #354 . might be worth having the same input for both, altho i wouldn't work for autocomplete

@hyperz111
Copy link
Contributor Author

great idea, would work well with #354 . might be worth having the same input for both, altho i wouldn't work for autocomplete

Oh thanks

@hyperz111
Copy link
Contributor Author

@natemoo-re, please ping 🙏

@hyperz111
Copy link
Contributor Author

Hello @43081j, can you merge this?

@43081j
Copy link
Collaborator

43081j commented Aug 12, 2025

sorry just catching up on this

can you please add a test? in the test, we should emit the i key and ensure the selection is what we expect

@hyperz111
Copy link
Contributor Author

sorry just catching up on this

can you please add a test? in the test, we should emit the i key and ensure the selection is what we expect

Oh ok 👍

Copy link

pkg-pr-new bot commented Aug 12, 2025

@example/basic@example/changesets

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

commit: 3d58aad

@43081j 43081j merged commit d98e033 into bombshell-dev:main Aug 12, 2025
7 checks passed
@hyperz111 hyperz111 deleted the multiselect-invert branch August 12, 2025 17:25
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.

3 participants