github / github/copilot-cli

Multiline copy truncates spaces between lines

Closed
#3,605 1 comment 0 reactions 0 assignees View on GitHub
area:input-keyboard area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.