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
[FEATURE]: Add "Copy message" option to right-click context menu for user messages #4358
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Currently, when right-clicking on a user message in the TUI, only "Revert" and "Fork" options are available in the context menu. There's no quick way to copy the text content of a user message to the clipboard. This is mainly an issue when my prompts are very big and I want to just copy one of them and start a new thread.
Proposed Behavior
The right-click context menu on user messages can include a "Copy message" option alongside the existing "Revert" and "Fork" options, allowing users to quickly copy message text to their clipboard.
/oc read packages/opencode/src/cli/cmd/tui, locate where the dialog is when you click a user message, also look for how we handle copying to clipboards currently. Add a new menu item called Copy with description "copy message text to clipboard".
Activity
github-actions commentedon Nov 16, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case of wanting a right-click context menu option.
rekram1-node commentedon Nov 16, 2025
I think this makes sense, you can ofc select with your mouse but this can be easier.
rekram1-node commentedon Nov 16, 2025
/oc read packages/opencode/src/cli/cmd/tui, locate where the dialog is when you click a user message, also look for how we handle copying to clipboards currently. Add a new menu item called
Copywith description "copy message text to clipboard".Make sure to hook up the clipboard w/ it too
opencode-agent commentedon Nov 16, 2025
Created PR #4389
opencode session | github run
rekram1-node commentedon Nov 16, 2025
ez
seatedro commentedon Nov 17, 2025
fire