Skip to content

fix(tui): support macos image paste shortcut#719

Open
tt-a1i wants to merge 1 commit into
MoonshotAI:mainfrom
tt-a1i:fix/macos-cmd-v-image-paste
Open

fix(tui): support macos image paste shortcut#719
tt-a1i wants to merge 1 commit into
MoonshotAI:mainfrom
tt-a1i:fix/macos-cmd-v-image-paste

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • Treat macOS Cmd+V as an image paste shortcut in the editor.
  • Keep existing Ctrl+V handling on non-Windows platforms and Alt+V handling on Windows.
  • Add editor coverage for the Kitty super+v CSI-u sequence.

Resolve #700

Testing

  • pnpm --filter @moonshot-ai/kimi-code exec vitest run test/tui/components/editor/custom-editor.test.ts
  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • git diff --check

AI Assistance Disclosure

I used Codex to review the changes, sanity-check the implementation against existing patterns, and help spot potential edge cases.

@changeset-bot

changeset-bot Bot commented Jun 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f4258b1

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 Patch

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

@tt-a1i tt-a1i marked this pull request as ready for review June 13, 2026 14:04
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.

kimi code cannot paste images via cmd+v on macOS

1 participant