cmd+click open links twice
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
I have developed the habbit of cmd+click to open links from a VS Code terminal on mac because the default behavior of links in the terminal output is that
- click does nothing
- cmd+click opens it in the browser
For Copilot CLI, the behavior is different:
- click opens the link in the browser - this is different from VS Code but it's good
- cmd+click opens the link twice in the browser - not expected
### Affected version
1.0.56
### Steps to reproduce the behavior
1. Ask Copilot CLI to echo a link in a VS Code terminal
2. click the link
3. cmd+click the link
Like what this screenshot indicates
### Expected behavior
I expect the link to be opened only once.
### Additional context
_No response_
贡献指南
调研方向
Reproduce the issue in a VS Code terminal using Copilot CLI 1.0.56, following the listed click and cmd+click steps. Trace the CLI's terminal link and modifier-key handling; done means a cmd+click opens the link exactly once while ordinary clicking still opens it once.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vscode
- 领域
- cli, developer-experience
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 64/100