Fails to select word on dual click #4437

Open
opened 2026-02-16 17:43:46 -05:00 by yindo · 1 comment
Owner

Originally created by @skhaz on GitHub (Jan 8, 2026).

Originally assigned to: @kommander on GitHub.

Description

As any terminal based app or any graphical app, I can select a single word with dual click, this is not happening on OpenCode.

Plugins

No response

OpenCode version

Any version/latest

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 26

Terminal

iTerm2

Originally created by @skhaz on GitHub (Jan 8, 2026). Originally assigned to: @kommander on GitHub. ### Description As any terminal based app or any graphical app, I can select a single word with dual click, this is not happening on OpenCode. ### Plugins _No response_ ### OpenCode version Any version/latest ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS 26 ### Terminal iTerm2
yindo added the opentuibug labels 2026-02-16 17:43:46 -05:00
Author
Owner

@justfortheloveof commented on GitHub (Jan 8, 2026):

This is common in TUI apps, where they capture mouse input (which allows for mouse input in the TUI).

That said, a workaround for this that should work in most modern terminals is to hold shift before double clicking (or before any text selection, like click+drag, to get the "normal terminal behavior")

@justfortheloveof commented on GitHub (Jan 8, 2026): This is common in TUI apps, where they capture mouse input (which allows for mouse input in the TUI). That said, a workaround for this that should work in most modern terminals is to hold `shift` before double clicking (or before any text selection, like click+drag, to get the "normal terminal behavior")
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4437