-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Closed
Copy link
Description
Describe the bug
Right-click paste in Windows Terminal (PowerShell) while in the Copilot CLI input prompt produces garbled/corrupted unicode characters instead of the actual clipboard content.
For example, pasting a normal English text string via right-click produces:
�J뢰��z-~)ݱ����ॡƥ�֭y�)�Z-�H.�+ޮƥ�N6��������Z�ׯ ""
Ctrl+Shift+V works correctly and pastes the expected text. Only right-click paste is broken.
Affected version
0.0.420
Steps to reproduce the behavior
- Open Windows Terminal with PowerShell
- Run
copilot - Copy any text to the clipboard (e.g., "hello world")
- Right-click in the Copilot CLI prompt area to paste
- Observe garbled unicode characters instead of the clipboard content
- Try Ctrl+Shift+V instead — this works correctly
Expected behavior
Right-click paste should insert the clipboard text verbatim, same as Ctrl+Shift+V does.
Additional context
- OS: Windows 11
- Terminal: Windows Terminal (PowerShell 7)
- Copilot CLI version: 0.0.420
- Right-click paste works correctly in every other CLI application in the same terminal session — the issue is specific to Copilot CLI's input handler
- Likely related to how Copilot CLI handles bracketed paste mode or raw terminal input encoding
Expected behavior
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels