[FEATURE]: Copy console text on click #3198

Closed
opened 2026-02-16 17:39:05 -05:00 by yindo · 8 comments
Owner

Originally created by @ariane-emory on GitHub (Nov 28, 2025).

Originally assigned to: @edlsh on GitHub.

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

Presently, when the bottom-of-the-screen console appears, there is no way to easily copy the text, as it is not selectable with the mouse (at least not in iTerm2).

It would be fantastic if the text in the bottom console could be automatically copied to the clipboard when the console was clicked on. This would be somewhat similar to how user messages can be copied when clicked on, but it would not require the modal dialogue appearing where you have to select the copy option, it could simply immediately be copy the clipboard when clicked.

Originally created by @ariane-emory on GitHub (Nov 28, 2025). Originally assigned to: @edlsh on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Presently, when the bottom-of-the-screen console appears, there is no way to easily copy the text, as it is not selectable with the mouse (at least not in iTerm2). It would be fantastic if the text in the bottom console could be automatically copied to the clipboard when the console was clicked on. This would be somewhat similar to how user messages can be copied when clicked on, but it would not require the modal dialogue appearing where you have to select the copy option, it could simply immediately be copy the clipboard when clicked.
yindo added the help-wantedgood first issue labels 2026-02-16 17:39:05 -05:00
yindo closed this issue 2026-02-16 17:39:05 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2773: clipboard copy not works in remote SSH console (similar inability to copy text in console)
  • #4283: Copy To Clipboard is not working (general clipboard copy issues)
  • #2755: feat: Copy Mode for OpenCode (comprehensive feature request for improved copy functionality with keyboard support)
  • #4751: Add config option to disable copy-on-select (related to copy behavior in console)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 28, 2025): This issue might be a duplicate of existing issues. Please check: - #2773: clipboard copy not works in remote SSH console (similar inability to copy text in console) - #4283: Copy To Clipboard is not working (general clipboard copy issues) - #2755: feat: Copy Mode for OpenCode (comprehensive feature request for improved copy functionality with keyboard support) - #4751: Add config option to disable copy-on-select (related to copy behavior in console) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 2, 2025):

Yeah the console also isn't scrollable either i dont think

@rekram1-node commented on GitHub (Dec 2, 2025): Yeah the console also isn't scrollable either i dont think
Author
Owner

@ariane-emory commented on GitHub (Dec 2, 2025):

@rekram1-node Correct. Really, I just want to be able to copy out enough of a snipped to paste back into another opencode instance so that I can tell a model "Hey, you screwed it up, look at this error and fix it: $THE_ERROR". Often models can puzzle it out from half of a stack trace, even if they don't see the whole thing, but being able to click and get the whole content in my clipboard would be even better.

Right now, my workflow for achieving this is to take a screenshot and then open it up in MacOS' Preview app to take advantage of its built in OCR so that I can copy (at least a part of) the stack trace from it. This gets the job done, but it's a bit awkward since it requires some additional steps and window-switching that we could in theory bypass if we had this feature.

@ariane-emory commented on GitHub (Dec 2, 2025): @rekram1-node Correct. Really, I just want to be able to copy out enough of a snipped to paste back into another opencode instance so that I can tell a model "Hey, you screwed it up, look at this error and fix it: $THE_ERROR". Often models can puzzle it out from half of a stack trace, even if they don't see the whole thing, but being able to click and get the whole content in my clipboard would be even better. Right now, my workflow for achieving this is to take a screenshot and then open it up in MacOS' Preview app to take advantage of its built in OCR so that I can copy (at least a part of) the stack trace from it. This gets the job done, but it's a bit awkward since it requires some additional steps and window-switching that we could in theory bypass if we had this feature.
Author
Owner

@ImGoomes commented on GitHub (Dec 5, 2025):

Hi, I'd like to work on this issue.

@ImGoomes commented on GitHub (Dec 5, 2025): Hi, I'd like to work on this issue.
Author
Owner

@ariane-emory commented on GitHub (Dec 5, 2025):

@ImGoomes Great, go right ahead! I've taken a couple of stabs at it but haven't really gotten anywhere with it yet.

@ariane-emory commented on GitHub (Dec 5, 2025): @ImGoomes Great, go right ahead! I've taken a couple of stabs at it but haven't really gotten anywhere with it yet.
Author
Owner

@edlsh commented on GitHub (Dec 8, 2025):

@ImGoomes let me know if you are still planning on working on this!

@edlsh commented on GitHub (Dec 8, 2025): @ImGoomes let me know if you are still planning on working on this!
Author
Owner

@rekram1-node commented on GitHub (Dec 8, 2025):

@ImGoomes if you haven't started I think @edlsh addressed this and didn't see your original comment. I think I am going to tweak the copy of this issue to mention the scrolling issue w/ the console box and if you would like to fix that instead it'd be highly appreciated

@rekram1-node commented on GitHub (Dec 8, 2025): @ImGoomes if you haven't started I think @edlsh addressed this and didn't see your original comment. I think I am going to tweak the copy of this issue to mention the scrolling issue w/ the console box and if you would like to fix that instead it'd be highly appreciated
Author
Owner

@ImGoomes commented on GitHub (Dec 9, 2025):

Hi @edlsh, you can go ahead with the issue, I've started but didn't finished yet!

@ImGoomes commented on GitHub (Dec 9, 2025): Hi @edlsh, you can go ahead with the issue, I've started but didn't finished yet!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3198