github / github/copilot-cli

Line wraps break URL links in Windows Terminal

Đang mở
#2,968 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:platform-windows area:terminal-rendering
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

When a URL is long and wraps to new lines, only the part on the first line was recognized as a link.

### Affected version

1.0.36

### Steps to reproduce the behavior

Just paste a really long URL into Copilot CLI and click it.
For example, the following URL only opens `https://github.com/github/copilot-cli/issues?q=is%3Aissue`
Image

It is correctly recognized if I paste it into Windows Terminal outside of CLI:
Image

### Expected behavior

The full URL should be recognized by Windows Terminal

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

Reproduce the issue in Copilot CLI on Windows Terminal by pasting a long URL that wraps across lines, then compare it with the same URL pasted outside the CLI. Done means the full wrapped URL is recognized and opens rather than only the first-line portion.

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

Đánh giá

Công nghệ
shell
Lĩnh vực
cli, operating-systems
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
55/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.