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

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

Expected behavior
The full URL should be recognized by Windows Terminal
Additional context
No response
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%3AissueIt is correctly recognized if I paste it into Windows Terminal outside of CLI:

Expected behavior
The full URL should be recognized by Windows Terminal
Additional context
No response