Skip to content

pasting issue #4597

Description

@orielR4

Describe the bug

Bug: Pasted multi-line content not sent to model

Environment: WezTerm (Ctrl+V →  PasteFrom "Clipboard" ) on Windows, running Copilot CLI inside WSL (zsh). CLI version 1.0.80.

Expected: The full pasted content (12 lines) is sent to the model as part of the message.

Actual: The model responds as if no content was received — e.g., "I don't see the pasted content — it looks like it didn't come through." The paste token is not being expanded/substituted with the real content before the request is sent.

Notes: Terminal/paste mechanism itself works correctly (bracketed paste, WezTerm config verified clean) — this appears to be a CLI-side bug in how paste tokens are resolved before submission.

Affected version

GitHub Copilot CLI 1.0.80.

Steps to reproduce the behavior

Steps to reproduce:
in wezterm using wsl,

  1. Copy multi-line text (e.g., 12 lines) to clipboard.
  2. Prompt correctly shows a collapsed token:  [Paste Create ownership.yaml #1 - 12 lines] .
  3. Press Enter to submit.

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions