Skip to content

feat(tui): support j/k navigation in non-search pickers#175

Open
wenyuanw wants to merge 1 commit into
MoonshotAI:mainfrom
wenyuanw:feat/tui-jk-navigation
Open

feat(tui): support j/k navigation in non-search pickers#175
wenyuanw wants to merge 1 commit into
MoonshotAI:mainfrom
wenyuanw:feat/tui-jk-navigation

Conversation

@wenyuanw
Copy link
Copy Markdown

@wenyuanw wenyuanw commented May 28, 2026

Related Issue

No linked issue; this fixes an inconsistency in TUI picker navigation.

Problem

Some TUI selection popups, including the /login platform selector, only accepted / for navigation even though other TUI views already support Vim-style j / k movement. This made keyboard behavior inconsistent across popups.

What changed

Added j / k navigation to the shared non-search picker list handling, using the existing printable-key decoding path so Kitty keyboard protocol input works correctly.

Searchable pickers keep j / k as search input rather than treating them as navigation, so model/provider search behavior is unchanged. The change includes focused unit coverage, a changeset for @moonshot-ai/kimi-code.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

🦋 Changeset detected

Latest commit: 5316e8b

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

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code 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

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.

1 participant