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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。