mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-06 15:25:34 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||