-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Description
Since v0.0.421, right-click paste no longer works inside the Copilot CLI when using PuTTY in "Compromise" mode (Middle extends, Right pastes), or in a local powershell. Left-click drag/highlight text selection is also broken. Both worked before this release.
Likely root cause
v0.0.421 introduced two mouse-related changes: the right-click garbled text fix and the new Linux primary selection feature. Together these likely required enabling a broader terminal mouse tracking mode (ESC[?1000h / ?1003h / ?1006h). Once the CLI enables mouse tracking, PuTTY forwards all mouse events as escape sequences to the app instead of handling them itself — so right-click paste and left-click selection never reach PuTTY. Not sure about the cause for local Powershell, perhaps similar.
Shift+right-click still work because PuTTY/powershell Shift modifier explicitly bypasses mouse tracking passthrough.
Suggested fix: avoid consuming button events when no app-level handler is registered.
Workarounds
Shift+Insertto pasteShift+Right-clickto pasteShift+Left-click drag/highlightto select/copy
Environment
- PuTTY (Windows), mouse mode: Compromise (Middle extends, Right pastes), or local copilot inside powershell
- Copilot CLI v0.0.421