github / github/copilot-cli

cmd+click open links twice

Offen
#3,580 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere das Problem in einem VS Code-Terminal mit Copilot CLI 1.0.56 und befolge die aufgeführten Schritte für Klick und cmd+click. Verfolge die Verarbeitung von Terminal-Links und Modifier-Tasten durch die CLI; abgeschlossen ist die Aufgabe, wenn ein cmd+click den Link genau einmal öffnet und ein gewöhnlicher Klick ihn weiterhin einmal öffnet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos, vscode
Bereich
cli, developer-experience
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
64/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.