Line wraps break URL links in Windows Terminal
未關閉
area:platform-windows
area:terminal-rendering
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
在 Windows Terminal 的 Copilot CLI 中貼上一個跨行換行的長 URL,以重現此問題,然後將其與在 CLI 外部貼上相同 URL 的情況進行比較。當完整的換行 URL 能夠被辨識並開啟,而不是只有第一行的部分被辨識時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli, operating-systems
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100