github / github/copilot-cli

cmd+click open links twice

オープン
#3,580 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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

Image

### Expected behavior

I expect the link to be opened only once.

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Copilot CLI 1.0.56 を使用して VS Code のターミナルで問題を再現し、記載されている click と cmd+click の手順に従います。CLI によるターミナルリンクと修飾キーの処理を追跡します。完了条件は、cmd+click でリンクが正確に 1 回開き、通常のクリックでも引き続き 1 回開くことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vscode
領域
cli, developer-experience
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
64/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。