Skip to content

Conversation

@djgrant
Copy link
Contributor

@djgrant djgrant commented Feb 9, 2026

Adds wraparound behaviour to autocomplete and multiselect autocomplete.

Tested both examples (pnpm --filter @example/basic exec jiti ./autocomplete.ts) and the wraparound behaviour works as expected tranistioning from first to last on up arrow, and last to first on down arrow.

Resolves #462.

@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2026

🦋 Changeset detected

Latest commit: b3feb26

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

This PR includes changesets to release 1 package
Name Type
@clack/prompts Minor

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 9, 2026

commit: b3feb26

@43081j
Copy link
Collaborator

43081j commented Feb 9, 2026

CI is failing because T doesn't extend {disabled?: boolean}

you should be able to just update autocomplete's OptionLike to have this optional property

@43081j 43081j merged commit c697439 into bombshell-dev:main Feb 9, 2026
7 checks passed
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] No wraparound for autocomplete

2 participants