github / github/copilot-cli

cmd+click open links twice

Đang mở
#3,580 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:input-keyboard
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện vấn đề trong một terminal VS Code bằng Copilot CLI 1.0.56, thực hiện theo các bước click và cmd+click được liệt kê. Theo dõi cách CLI xử lý liên kết terminal và phím bổ trợ; hoàn thành khi cmd+click mở liên kết đúng một lần, còn thao tác click thông thường vẫn mở liên kết một lần.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos, vscode
Lĩnh vực
cli, developer-experience
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
64/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.