Description
I use the TUI over SSH and can't paste images. Unsure if it's a bug or a gap in the design: the clipboard I want to read is on my laptop, but the TUI is running on the remote box.
Add a read path to the terminal clipboard backend using kitty's clipboard protocol (OSC 5522). It's MIME-typed and travels in-band, so it works through SSH. It could slot in behind the existing ClipboardService.read({ preferredTypes }) ?
Terminal support:
Plugins
No response
OpenCode version
opencode2 v0.0.0-beta-19425
Steps to reproduce
- Copy image on host to clipboard
- Run opencode tui on remote
- Try to paste over ghostty
Screenshot and/or share link
No response
Operating System
mac(host) + ubuntu(remote)
Terminal
Ghostty
Description
I use the TUI over SSH and can't paste images. Unsure if it's a bug or a gap in the design: the clipboard I want to read is on my laptop, but the TUI is running on the remote box.
Add a read path to the terminal clipboard backend using kitty's clipboard protocol (OSC 5522). It's MIME-typed and travels in-band, so it works through SSH. It could slot in behind the existing
ClipboardService.read({ preferredTypes })?Terminal support:
Plugins
No response
OpenCode version
opencode2 v0.0.0-beta-19425
Steps to reproduce
Screenshot and/or share link
No response
Operating System
mac(host) + ubuntu(remote)
Terminal
Ghostty