Skip to content

Multiline copy truncates spaces between lines #3605

@qwaz

Description

@qwaz

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
  1. Drag and select multiline text, where the word

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

Image
  1. Right click to copy it

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions