mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-07 07:45:54 +00:00
* fix(cli): add Option+V for clipboard image paste on macOS (#8118) macOS terminals intercept Cmd+V for text paste, so the existing Cmd+V binding for clipboard image paste never fires. Users had to discover Ctrl+V through trial and error. Changes: - keyBindings.ts: add { key: 'v', meta: true } (Option/Alt+V) to PASTE_CLIPBOARD_IMAGE bindings on non-Windows platforms - KeyboardShortcuts.tsx: update macOS hint from 'cmd+v' to 'ctrl+v / opt+v' to reflect what actually works * fix(cli): correct macOS image-paste shortcut hint (#8118) * test(cli): cover platform-specific image-paste shortcut hint (#8118) * fix(cli): make option+v image paste work on stock macOS terminals (#8118) * fix(cli): address review feedback on macOS image-paste shortcut (#8118) - Guard the option-composed glyph lookup with Object.hasOwn so inherited Object.prototype members can never resolve as a composed key. - Add a non-macOS pass-through test for the "√" glyph, mirroring the existing "†" coverage. - Correct the keyboard-shortcuts docs: Ctrl+V also pastes on macOS, matching the overlay hint. --------- Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com> Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| _meta.ts | ||
| keyboard-shortcuts.md | ||