-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Problem
When using OpenCode's integrated terminal, users cannot copy text from the terminal output using Cmd+C on macOS. The keyboard shortcut appears to be intercepted by the TUI before it reaches the system clipboard.
Expected Behavior
Users should be able to select text in the integrated terminal and copy it to the clipboard using standard macOS shortcuts (Cmd+C), so they can paste it into the chat input or other applications.
Current Behavior
Pressing Cmd+C after selecting text in the integrated terminal does nothing - the text is not copied to the clipboard.
Environment
- macOS
- OpenCode TUI with integrated terminal
Suggested Solutions
- Pass through
Cmd+Cto the system when text is selected in the terminal - Add a right-click context menu with "Copy" option
- Add a keybind specifically for terminal copy (e.g.,
Cmd+Shift+C)
Use Case
Users often need to copy error messages, file paths, or command output from the terminal to paste into the chat for context or to reference in their queries.
Metadata
Metadata
Assignees
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui