Skip to content

Conversation

@dylan-hurd-oai
Copy link
Collaborator

@dylan-hurd-oai dylan-hurd-oai commented Dec 3, 2025

Closes #3404

Summary

On windows, ctrl+v does not work for the same reason that cmd+v does not work on macos. This PR adds alt/option+v detection, which allows windows users to paste images from the clipboard using.

We could swap between just ctrl on mac and just alt on windows, but this felt simpler - I don't feel strongly about it.

Note that this will NOT address image pasting in WSL environments, due to issues with WSL <> Windows clipboards. I'm planning to address that in a separate PR since it will likely warrant some discussion.

Testing

  • Tested locally on a Mac and Windows laptop

@dylan-hurd-oai dylan-hurd-oai force-pushed the dh--paste-image-modifier branch 2 times, most recently from 991165b to fb2141c Compare December 3, 2025 01:39
@dylan-hurd-oai dylan-hurd-oai force-pushed the dh--paste-image-modifier branch from fb2141c to 4ba4cf8 Compare December 3, 2025 01:40
@dylan-hurd-oai dylan-hurd-oai merged commit 00ef9d3 into main Dec 3, 2025
26 checks passed
@dylan-hurd-oai dylan-hurd-oai deleted the dh--paste-image-modifier branch December 3, 2025 06:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2025
@dylan-hurd-oai dylan-hurd-oai changed the title fix(tui) Support image paste from clipboard on native Windows fix(tui) Support image paste via alt+v from clipboard on native Windows Dec 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please enable pasting images from the Windows clipboard (captured via Win+Shift+S) directly into Codex CLI’s chat input.

3 participants