qwen-code/docs/users/reference
qwen-code-dev-bot 63780e0d2f
fix(cli): add Option+V for clipboard image paste on macOS (#8120)
* 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>
2026-07-31 13:42:18 +00:00
..
_meta.ts feat: refactor docs 2025-12-05 10:51:57 +08:00
keyboard-shortcuts.md fix(cli): add Option+V for clipboard image paste on macOS (#8120) 2026-07-31 13:42:18 +00:00