Skip to content

[FEATURE]: separate 'copy on select' from 'mouse' setting #34063

Closed

Description

@sporteka2

When mouse: true in tui.json, mouse scrolling works but selecting text auto-copies to clipboard. When mouse: false, there is no auto-copy but scrolling also stops working.

Please add a separate option like "copy_on_select": false to disable auto-copy on selection while keeping mouse scrolling ("mouse": true) enabled.

This would let users choose to disable the auto-copy behavior without losing mouse scroll support in the TUI.

  • I have searched existing issues and confirmed this is not a duplicate

Activity

  1. github-actions commented on Jun 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature request titles must start with [FEATURE]: (e.g. [FEATURE]: separate 'copy on select' from 'mouse' setting)
    • Feature request template requires a verification checkbox confirming you searched for existing issues

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. changed the title [-]Feature Request: separate 'copy on select' from 'mouse' setting[/-] [+][FEATURE]: separate 'copy on select' from 'mouse' setting[/+] on Jun 26, 2026
  3. github-actions commented on Jun 26, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines and looks good. We appreciate the clear description of the problem and the specific feature request. 🎉

  4. draxxris commented on Jun 30, 2026

    @draxxris

    +1: When running in herdr, it has its own copy-on-select feature.

  5. kxxoling commented on Jul 4, 2026

    @kxxoling

    copy-on-select stopped me from copying text while using tmux+opencode throgh ssh.

  6. smolin commented on Jul 14, 2026

    @smolin

    This. The copy-on-select feature drives me crazy - imagine if every application on your desktop implemented selection in a different way.

  7. ilacc1 commented on Jul 27, 2026

    @ilacc1

    Please fix this. I am completely bemused as on my Ubuntu 26.04, when I select content in the terminal window, things don't actually get copied to clipboard but the selection is cleared so I can't use OS native copy. If I disable mouse, no scrolling. Help!

  8. iutx commented on Aug 18, 2026

    @iutx

    +1

  9. simonklee commented on Aug 18, 2026

    @simonklee
    Member
    screenrecording-2026-08-18_13-34-48.mp4

    There is a setting for this in the next version of opencode

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions