pasting issue
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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,
- Copy multi-line text (e.g., 12 lines) to clipboard.
- Prompt correctly shows a collapsed token: [Paste #1 - 12 lines] .
- Press Enter to submit.
Expected behavior
No response
Additional context
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
In WezTerm unter Windows mit Copilot CLI innerhalb von WSL unter Verwendung von zsh reproduzieren, 12 Zeilen kopieren und das eingeklappte [Paste #1]-Token absenden. Da keine Quelldatei oder kein Test genannt wird, die Verarbeitung des Paste-Tokens von der Übermittlung der Eingabeaufforderung bis zur Modellanfrage verfolgen. Als erledigt gilt dies, wenn der vollständige eingefügte Inhalt in der gesendeten Nachricht enthalten ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100