github / github/copilot-cli

cmd+click open links twice

Aperta
#3,580 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:input-keyboard
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproduci il problema in un terminale VS Code usando Copilot CLI 1.0.56, seguendo i passaggi elencati per click e cmd+click. Traccia la gestione dei link del terminale e dei tasti modificatori da parte della CLI; il lavoro è completato quando un cmd+click apre il link esattamente una volta, mentre un click normale continua ad aprirlo una volta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
macos, vscode
Ambito
cli, developer-experience
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
64/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.