Copying text causes the WSL GUI program window to disappear.

未关闭
#66,978 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
powershell, typescript

调研方向

Start by reproducing the clipboard-triggered failure with opencode 2.4.2 under WSL, then compare it with opencode 1.x. Test both automatic and manual copy while running a GUI program such as Android Studio from WSL, and trace the terminal or clipboard code involved without assuming a specific file. Done means the affected versions and trigger are identified and the WSL GUI window no longer disappears.

由索引模型根据 Issue 内容生成。

描述

area/tui platform/windows platform/wsl type/bug version/v2
Description

When using the latest version of opencode 2.x in WSL, after selected text is automatically copied, GUI programs opened in WSL may have their windows disappear (currently using Android Studio), and you must end the process and restart it to recover. Setting it to manual copy still has the same problem, but using opencode 1.x does not have this issue.

Plugins

No response

OpenCode version

2.4.2

Steps to reproduce

No response

Screenshot

No response

Operating System

Windows 11

Terminal

PowerShell 7.7

主要语言
TypeScript
星标
230k
派生
31.3k
平均合并
5 小时 32 分钟
30 天内合并 PR
453

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anomalyco/opencode 的其他 Issue

查看 anomalyco/opencode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。