Can't copy text from opencode through mouse selection in Windows Terminal
Description
I've noticed the newly introduced OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT which I hoped would make it better for me to copy text from opencode tui, but it doesn't work. I run Windows Terminal > wsl > ubuntu > ssh > tmux > opencode. Whenever I mouse-select text that shows up in opencode, the selection is cleared and nothing is copied to the clipboard. Before toggling the flag, it said "copied to clipboard" (which it didn't, who knows, maybe I need a clipboard forward integration or something). Now it doesn't say "copied to clipboard", but it does not copy, it just clears selection. I've tried in a separate windows terminal tab and the behavior is: select text and only after right click the selection is cleared and the clipboard gets that content.
OpenCode version
1.0.132
Steps to reproduce
- Run windows terminal with wsl
- open opencode via an ssh connection. First set the environment flag
- mouse select some text
- I expectat that my selection is copied to the clipboard. Instead, the selection is cleared and nothing happens.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Terminal