github / github/copilot-cli

Multiline copy truncates spaces between lines

已關閉
#3,605 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

Multiline drag selection & right click to copy truncates spaces around lines.

### Affected version

GitHub Copilot CLI 1.0.57-4

### Steps to reproduce the behavior

The example here is from a changelog, but the phenomenon appears in user prompt/agent responses too.

1. Prepare a multi-line text.

For example, `/changelog last 10`.

Image

2. Drag and select multiline text, where the word

I'll select the sentence starting with "Context window tier..."

Image

3. Right click to copy it

4. I get no spaces between "tier-dervied" and "limits"

> - Context window tier selection now persists durably in session events and survives SDK-only resume paths so tier-derivedlimits are reapplied to request, compaction, and truncation logic without app-level repair

### Expected behavior

Spaces are correctly preserved, so that copy-pasting keeps the original content

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Reproduce the issue in GitHub Copilot CLI 1.0.57-4 using the multiline selection and right-click copy steps, especially the changelog example containing “tier-derived limits.” Trace the CLI’s multiline selection and clipboard-copy path, then verify that copied text preserves spaces between lines and matches the selected content.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
50/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。