Skip to content

Line wraps break URL links in Windows Terminal #2968

@xj-ms

Description

@xj-ms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminalarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions