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