github / github/copilot-cli

Multiline copy truncates spaces between lines

Fermée
#3,605 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard area:terminal-rendering
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.