github / github/copilot-cli

Line wraps break URL links in Windows Terminal

Open
#2,968 0 comments 0 reactions 0 assignees View on GitHub
area:platform-windows area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.