github / github/copilot-cli

cmd+click open links twice

Ouverte
#3,580 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Reproduisez le problème dans un terminal VS Code avec Copilot CLI 1.0.56, en suivant les étapes indiquées de click et de cmd+click. Suivez la gestion des liens du terminal et des touches modificatrices par la CLI ; le travail est terminé lorsqu’un cmd+click ouvre le lien exactement une fois tandis qu’un clic ordinaire continue de l’ouvrir une fois.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, vscode
Domaine
cli, developer-experience
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
64/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.