You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to copy using shortcut from TUI (opentui & current) #3538
Opencode defines a hotkey "messages_copy": "<leader>y",, for copying from the prompt. Unfortunately I've never historically been able to get it to work- causing me to have to copy messages out of the message history before cleaning up newlines instead.
I'm on a wayland system with wl-clipboard installed, and opencode does successfully copy through the following methods:
/share (copies to clipboard)
Highlighting text
However using the <leader>y combination does not work for me as a means of copying. The 'message copied to clipboard' notification does show up, however, no message is copied to the clipboard in my experience.
OpenCode version
0.15.23
Steps to reproduce
I'm not quite sure. I'm on a Hyprland 0.51.1 (latest) based system, with wl-clipboard for managing the clipboard. Everything works as intended, i.e. other places in opencode where you copy/paste work fine (pasting works too). Just that this specific keybind has never worked for me.
Activity
rekram1-node commentedon Oct 29, 2025
thanks for heads up
veyselsahin commentedon Dec 6, 2025
@rekram1-node i checked releated issues and #5084 expected to be solved. should I create a pull request?
veyselsahin@2aecf94
I haven't read the contributing doc yet. It was my own problem as well. So, sorry if missed anything.
fix(clipboard): add wl-clipboard fallback for Wayland & use cached pl…