Skip to content

[FEATURE]: Add "Copy message" option to right-click context menu for user messages #4358

Closed

Description

@seatedro

Feature hasn't been suggested before.

  • 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.

Image

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Nov 16, 2025
  2. github-actions commented on Nov 16, 2025

    @github-actions
    Contributor

    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.

  3. rekram1-node commented on Nov 16, 2025

    @rekram1-node
    Contributor

    I think this makes sense, you can ofc select with your mouse but this can be easier.

  4. rekram1-node commented on Nov 16, 2025

    @rekram1-node
    Contributor

    /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".

    Make sure to hook up the clipboard w/ it too

  5. self-assigned this
    on Nov 16, 2025
  6. opencode-agent commented on Nov 16, 2025

    @opencode-agent
    Contributor

    Created PR #4389

    New%20session%20-%202025-11-16T21%3A15%3A17.190Z
    opencode session  |  github run

  7. rekram1-node commented on Nov 16, 2025

    @rekram1-node
    Contributor

    ez

  8. seatedro commented on Nov 17, 2025

    @seatedro
    Author

    fire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions