Copy function broken in Windows 11 Terminal and Warp (v1.1.49) #8397

Closed
opened 2026-02-16 18:09:51 -05:00 by yindo · 14 comments
Owner

Originally created by @zhongwei on GitHub (Feb 3, 2026).

Originally assigned to: @kommander on GitHub.

Description

Version 1.1.49 cannot copy content in Windows 11 Terminal or Warp Terminal. Version 1.1.48 works fine.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @zhongwei on GitHub (Feb 3, 2026). Originally assigned to: @kommander on GitHub. ### Description Version 1.1.49 cannot copy content in Windows 11 Terminal or Warp Terminal. Version 1.1.48 works fine. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the windowsopentuibug labels 2026-02-16 18:09:51 -05:00
yindo closed this issue 2026-02-16 18:09:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

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

  • #5046: Can't copy text from opencode through mouse selection in Windows Terminal
  • #7048: Copy Text "Copied to clipboard" does never work
  • #4283: Copy To Clipboard is not working
  • #7134: Unable to copy terminal output to clipboard on macOS
  • #8237: copying to clipboard doesn't work in a remote session (like a devcontainer)

These issues report similar clipboard/copy functionality problems across different terminal environments and versions. Feel free to ignore if your specific case involves unique circumstances.

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue might be a duplicate of existing issues. Please check: - #5046: Can't copy text from opencode through mouse selection in Windows Terminal - #7048: Copy Text "Copied to clipboard" does never work - #4283: Copy To Clipboard is not working - #7134: Unable to copy terminal output to clipboard on macOS - #8237: copying to clipboard doesn't work in a remote session (like a devcontainer) These issues report similar clipboard/copy functionality problems across different terminal environments and versions. Feel free to ignore if your specific case involves unique circumstances.
Author
Owner

@jc01rho commented on GitHub (Feb 3, 2026):

same here, from 1.1.49, just terminal also occured

@jc01rho commented on GitHub (Feb 3, 2026): same here, from 1.1.49, just terminal also occured
Author
Owner

@zhangzhenxiang666 commented on GitHub (Feb 3, 2026):

The same applies to WSL Ubuntu 24

@zhangzhenxiang666 commented on GitHub (Feb 3, 2026): The same applies to WSL Ubuntu 24
Author
Owner

@Her-xanadu commented on GitHub (Feb 3, 2026):

The same applies to Mac,but l can input image by ctrl+c now

@Her-xanadu commented on GitHub (Feb 3, 2026): The same applies to Mac,but l can input image by ctrl+c now
Author
Owner

@niushuai1991 commented on GitHub (Feb 3, 2026):

The same issue occurs in WSL ArchLinux

@niushuai1991 commented on GitHub (Feb 3, 2026): The same issue occurs in WSL ArchLinux
Author
Owner

@ErcinDedeoglu commented on GitHub (Feb 3, 2026):

https://github.com/anomalyco/opencode/issues/11909 same.

@ErcinDedeoglu commented on GitHub (Feb 3, 2026): https://github.com/anomalyco/opencode/issues/11909 same.
Author
Owner

@umutaxoy commented on GitHub (Feb 4, 2026):

Update: Tested different versions. Copy-on-selection works in 1.1.48 but broken in 1.1.49, 1.1.50, and beta. The regression was introduced in version 1.1.49.

@umutaxoy commented on GitHub (Feb 4, 2026): Update: Tested different versions. Copy-on-selection works in 1.1.48 but broken in 1.1.49, 1.1.50, and beta. The regression was introduced in version 1.1.49.
Author
Owner

@kommander commented on GitHub (Feb 4, 2026):

@umutaxoy what platform and terminal? With tmux? Via ssh?

@kommander commented on GitHub (Feb 4, 2026): @umutaxoy what platform and terminal? With tmux? Via ssh?
Author
Owner

@jc01rho commented on GitHub (Feb 4, 2026):

v1.1.50 still doesn't fix the issue. issue is still exist.

@jc01rho commented on GitHub (Feb 4, 2026): v1.1.50 still doesn't fix the issue. issue is still exist.
Author
Owner

@umutaxoy commented on GitHub (Feb 4, 2026):

@umutaxoy what platform and terminal? With tmux? Via ssh?

@kommander Platform & Teheadless server, no GUI)Connection: SSH via VS Code Remote SSH, also tested with Warp termina VS Code Remote SSH, also tested with Warp terminal and natreen: RuiplexerTERM: xtrectly in shellddititerminal multiplexerTERM: xterm-256colorAddititerminal multiplexerTERM: xterm-256colorAdditional tes1.1.48 works perfectly - copy on selection ng:1.1.48 works perfectly - copy on selection ng:1.1.48 works perfectly - copy on selection fntroducss to ba regression in 1.1.49. Downgrading t seems to be a regression in 1.1.49. Downgrading t seems to be a regression in 1.1.49. Downgrading to 1.1.48 is a working workaround.

@umutaxoy commented on GitHub (Feb 4, 2026): > [@umutaxoy](https://github.com/umutaxoy) what platform and terminal? With tmux? Via ssh? @kommander Platform & Teheadless server, no GUI)Connection: SSH via VS Code Remote SSH, also tested with Warp termina VS Code Remote SSH, also tested with Warp terminal and natreen: RuiplexerTERM: xtrectly in shellddititerminal multiplexerTERM: xterm-256colorAddititerminal multiplexerTERM: xterm-256colorAdditional tes1.1.48 works perfectly - copy on selection ng:1.1.48 works perfectly - copy on selection ng:1.1.48 works perfectly - copy on selection fntroducss to ba regression in 1.1.49. Downgrading t seems to be a regression in 1.1.49. Downgrading t seems to be a regression in 1.1.49. Downgrading to 1.1.48 is a working workaround.
Author
Owner

@jcowles commented on GitHub (Feb 4, 2026):

Also happening on windows with WezTerm and opencode 1.1.50
exact error is renderer.CopyToClipboardOSC52 is not a function

Mine is also a local build, so I'm starting to think the upgrade of opentui vs. my local packages is the culprit
https://github.com/anomalyco/opencode/commit/994c55f7

@jcowles commented on GitHub (Feb 4, 2026): Also happening on windows with WezTerm and opencode 1.1.50 exact error is `renderer.CopyToClipboardOSC52 is not a function` Mine is also a local build, so I'm starting to think the upgrade of opentui vs. my local packages is the culprit https://github.com/anomalyco/opencode/commit/994c55f7
Author
Owner

@jcowles commented on GitHub (Feb 4, 2026):

Confirmed, my error was due to outdated packages -- after bun install, it's working again

@jcowles commented on GitHub (Feb 4, 2026): Confirmed, my error was due to outdated packages -- after bun install, it's working again
Author
Owner

@jc01rho commented on GitHub (Feb 4, 2026):

reinstall v1.1.51 with bun add -g opencode-ai, with tmux set -g allow-passthrough on works

@jc01rho commented on GitHub (Feb 4, 2026): reinstall v1.1.51 with bun add -g opencode-ai, with tmux set -g allow-passthrough on works
Author
Owner

@umutaxoy commented on GitHub (Feb 4, 2026):

The problem appears to be resolved with version 1.1.51. @kommander

@umutaxoy commented on GitHub (Feb 4, 2026): The problem appears to be resolved with version 1.1.51. @kommander
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8397