Description
commad+shift+V to paste unbracked.
Instead of pasting from the global clipboard, pastes the last string copied from that terminal session only, or nothing.
This issue does not affect command+V bracketed paste, so somehow command+V uses the global clipboard, and command+shift+V uses a "local" (???) clipboard?
Also, there is no way to "unbracket" the pasted text once pasted!!!
I am trying to create a prompt and then fill in file links inside opencode but this cannot currently be achieved because opencode insists on bracketing anything longer than a few words, even a single line.
Plugins
none
OpenCode version
dev branch
Steps to reproduce
- Copy text to the global clipboard (usually
command+C) from any text editor.
- Run opencode in new terminal session.
command+shift+V
- Nothing is pasted!
- Exit opencode.
- Copy some text, anything, from the same terminal window/tab/session.
- Run opencode in the same terminal window/tab/session again.
command+shift+V
- Voila! Text you just copied from the terminal is pasted.
- Go back to your other text editor and copy text again (
control-C).
- Go back to opencode.
command+shift+V
- Text from your other editor is NOT pasted.
- Text from prior attempt in step 8 is pasted.
Screenshot and/or share link
Maybe related to #3397?
Operating System
Darwin 25.2.0 arm64 arm
Terminal
iTerm2 but I also tried it in Terminal.app and got same results
Description
commad+shift+Vto paste unbracked.Instead of pasting from the global clipboard, pastes the last string copied from that terminal session only, or nothing.
This issue does not affect
command+Vbracketed paste, so somehowcommand+Vuses the global clipboard, andcommand+shift+Vuses a "local" (???) clipboard?Also, there is no way to "unbracket" the pasted text once pasted!!!
I am trying to create a prompt and then fill in file links inside opencode but this cannot currently be achieved because opencode insists on bracketing anything longer than a few words, even a single line.
Plugins
none
OpenCode version
dev branch
Steps to reproduce
command+C) from any text editor.command+shift+Vcommand+shift+Vcontrol-C).command+shift+VScreenshot and/or share link
Maybe related to #3397?
Operating System
Darwin 25.2.0 arm64 arm
Terminal
iTerm2 but I also tried it in Terminal.app and got same results