Skip to content

In Memory Image can't be Pasted in Opencode After TUI Upgrade. #4077

@amanhigh

Description

@amanhigh

Description

In Memory Image (Clipboard) can't be pasted to Opencode while Image Paste from File Works.

It causes trouble in chat when screenshot of UI etc has to be Shared.

OpenCode version

1.0.45

Steps to reproduce

  1. Screenshot Monitor or Region (Not Saving to File) to Clipboard.
    Eg. hyprshot -s -m output -m active --clipboard

  2. Try Pasting to Opencode not Working
    Keys Tried (Windows): Ctrl + v , Ctrl + Shift + V, Windows/Meta + V (Working before TUI Upgrade)

Pasting a File Works when Copied from File Browser.

Image

Expected Behaviour
Image as Binary Should be Pastable to Opencode as well as it worked Before.

Screenshot and/or share link

No response

Operating System

Arch Linux Latest

Terminal

Kitty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions