Cannot paste image on Zed #3087

Open
opened 2026-02-16 17:38:33 -05:00 by yindo · 4 comments
Owner

Originally created by @antoine-js on GitHub (Nov 24, 2025).

Originally assigned to: @kommander on GitHub.

Description

The clipboard image paste does not seem to work when using opencode within Zed.

Zed 0.213.4

It works on Warp for me though.

OpenCode version

v1.0.107

Steps to reproduce

  1. Take screenshot
  2. Paste it into the opencode chatbox.

Screenshot and/or share link

No response

Operating System

macOS 15.3.1

Terminal

Zed

Originally created by @antoine-js on GitHub (Nov 24, 2025). Originally assigned to: @kommander on GitHub. ### Description The clipboard image paste does not seem to work when using opencode within Zed. Zed 0.213.4 It works on Warp for me though. ### OpenCode version v1.0.107 ### Steps to reproduce 1. Take screenshot 2. Paste it into the opencode chatbox. ### Screenshot and/or share link _No response_ ### Operating System macOS 15.3.1 ### Terminal Zed
yindo added the opentuibug labels 2026-02-16 17:38:33 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 24, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4077: In Memory Image can't be Pasted in Opencode After TUI Upgrade (similar clipboard image paste issue on different terminal)
  • #4668: Images can not be dragged and dropped (also related to image handling, though drag-drop vs paste)

Both issues are also related to opentui changes in v1.0 and affect image pasting functionality. Feel free to ignore if your specific case on Zed requires different handling.

@github-actions[bot] commented on GitHub (Nov 24, 2025): This issue might be a duplicate of existing issues. Please check: - #4077: In Memory Image can't be Pasted in Opencode After TUI Upgrade (similar clipboard image paste issue on different terminal) - #4668: Images can not be dragged and dropped (also related to image handling, though drag-drop vs paste) Both issues are also related to opentui changes in v1.0 and affect image pasting functionality. Feel free to ignore if your specific case on Zed requires different handling.
Author
Owner

@rekram1-node commented on GitHub (Nov 24, 2025):

I think this has to do with how the paste events work in different terminals...

@rekram1-node commented on GitHub (Nov 24, 2025): I think this has to do with how the paste events work in different terminals...
Author
Owner

@nevilhulspas commented on GitHub (Jan 8, 2026):

Is there a workaround for this? MacOS latest OS + Zed (latest) and latest Opencode version.

@nevilhulspas commented on GitHub (Jan 8, 2026): Is there a workaround for this? MacOS latest OS + Zed (latest) and latest Opencode version.
Author
Owner

@nevilhulspas commented on GitHub (Jan 9, 2026):

Same problem with claude code btw! Just tested that.

Workaround for Claude Code is ctrl+v instead of cmd+v (on MacOS)

@nevilhulspas commented on GitHub (Jan 9, 2026): Same problem with claude code btw! Just tested that. Workaround for Claude Code is ctrl+v instead of cmd+v (on MacOS)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3087