opencode
opencode copied to clipboard
Images can not be dragged and dropped
Description
Drag and drop is not importing images correctly. it displays the file path instead of the image. I ruled out permission issues by testing a file from the directory OC is running, but the issue persists. Note that pasting a screenshot from the clipboard works as expected.
OpenCode version
v1.0.106
Steps to reproduce
- Take a screenshot
- Drag and drop into the terminal
- The path is imported and not the image
Screenshot and/or share link
Operating System
Mac 26.1
Terminal
warp
This issue might be a duplicate of existing issues. Please check:
- #3747: Image drag/drop no longer works (similar functionality broken after OpenTUI change)
- #4004: On macOS, copying an image file from Finder results in pasting a generic image icon, instead of the image data (related to macOS image handling)
- #4077: In Memory Image can't be Pasted in Opencode After TUI Upgrade (related clipboard/image pasting issue)
- #906: Feature request: Paste to attach image (related feature request for image pasting)
- #1429: feat: support pasting images from the clipboard (related feature request)
Feel free to ignore if none of these address your specific case.
+1