qwen-code/packages/cli
qwen-code-dev-bot 31a26ea99c
fix(cli): add Ctrl+Tab alternative for @ completion tab switching (#8074)
* fix(cli): add Ctrl+Tab alternative for @ completion tab switching (#8069)

Ctrl+←/→ is intercepted by most terminals (iTerm2, Windows Terminal,
macOS Terminal.app) for word-jump, making @ completion tab switching
unusable. Added Ctrl+Tab (next) and Ctrl+Shift+Tab (previous) as
alternative keybindings that are less commonly intercepted.

Also fixed the hint text: "(Ctrl+←/→ to switch)" was displayed even
when availableCategories <= 2 (where switching is disabled). Now the
hint only shows when there are >2 categories and mentions Ctrl+Tab
as an alternative.

* fix(cli): keep Ctrl+Shift+Tab from cycling approval mode (#8069)

Ctrl+Shift+Tab was added as a completion-category navigation binding, but the approval-mode cycling handlers matched any Shift+Tab without excluding ctrl. In Kitty-protocol terminals (which preserve the ctrl modifier on Shift+Tab) the navigation keystroke also silently cycled the approval mode. Exclude ctrl from the Shift+Tab match and mention both Ctrl+Tab directions in the switching hint.

* test(cli): cover Ctrl+Shift+Tab guard in AgentComposer (#8074)

* refactor(cli): drop redundant category-count guard in SuggestionsDisplay (#8074)

* test(cli): cover Ctrl+Tab completion tab-switch bindings (#8074)

---------

Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com>
Co-authored-by: qwen-code-ci-bot <qwen-code-ci-bot@users.noreply.github.com>
2026-07-31 08:35:52 +00:00
..
src fix(cli): add Ctrl+Tab alternative for @ completion tab switching (#8074) 2026-07-31 08:35:52 +00:00
.gitignore feat(core): add opt-in built-in web_search backed by the DashScope Responses API (#7215) 2026-07-21 10:59:36 +00:00
index.ts fix(cli): add bootstrap fast paths (#6188) 2026-07-02 22:28:11 +00:00
package.json chore(release): v0.21.2 (#8200) 2026-07-31 05:22:46 +00:00
test-setup.ts feat(serve): persist dynamic workspace registrations (#6716) 2026-07-11 16:49:40 +00:00
tsconfig.json feat(channels): add GitLab polling channel adapter (#7862) 2026-07-29 14:28:31 +00:00
vitest.config.ts feat(core): tag UserPromptSubmit hook context and record display provenance (#7956) 2026-07-30 11:45:23 +00:00