github / github/copilot-cli

Copying from CLI pastes PREVIOUS clipboard item.

Offen
#2,998 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

If I have anything stored in my clipboard (E.g. "Some already copied text"), the act of highlighting and copying additional text withing the CLI pastes the PREVIOUSLY copied text into the input.

### Affected version

GitHub Copilot CLI 1.0.36.

### Steps to reproduce the behavior

1. Copy some text to store it in clipboard (E.g. "Previously copied text")
2. Select text from within the Copilot CLI (E.g. "Some new text")
3. Copy it (whether with `Ctrl + C`, `right-click`, etc.) - DO NOT PASTE ANYTHING
4. "Previously copied text" gets pasted into the input (THIS IS THE BUG)
5. (extra step, added verification) Now actually paste (`Ctrl + V`, second `right-click`, etc.) - "Some new text" gets added to input (added on top of previous, erroneous, pasted text).

### Expected behavior

Just copy what I copy - DON'T PASTE OLD ITEMS WHEN NOT INSTRUCTED TO PASTE ANYTHING.
ALSO, DON'T PASTE ANYTHING WHEN JUST COPYING!!!

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.