Describe the bug
[Bug] Ctrl+G editor broken in v1.0.49 — keypresses require pressing twice
What happened
Since v1.0.49, the editor opened via Ctrl+G has a broken PTY:
- Every keypress must be pressed twice to register
Ctrl+X is completely unresponsive in nano (can't exit)
- After closing the editor, CLI shows
Waiting for editor process to exit... and requires an extra keypress
Versions
- v1.0.49 — broken
- v1.0.48 — works fine (confirmed on separate machine)
Steps to reproduce
- Launch
copilot
- Press
Ctrl+G to open the editor
- Type any character — nothing appears until pressed twice
Investigation
Not caused by editor config — confirmed with EDITOR="vim -u NONE", same issue. ps shows the correct process spawning:
vim -u NONE /var/folders/.../COPILOT_PROMPT.md
Same broken behavior with nano. Editor works normally outside of Copilot CLI.
Environment
- macOS Apple Silicon (arm64)
- Copilot CLI 1.0.49
- Editors tested: Vim 9.1, nano
Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Describe the bug
[Bug] Ctrl+G editor broken in v1.0.49 — keypresses require pressing twice
What happened
Since v1.0.49, the editor opened via Ctrl+G has a broken PTY:
Ctrl+Xis completely unresponsive in nano (can't exit)Waiting for editor process to exit...and requires an extra keypressVersions
Steps to reproduce
copilotCtrl+Gto open the editorInvestigation
Not caused by editor config — confirmed with
EDITOR="vim -u NONE", same issue.psshows the correct process spawning:Same broken behavior with nano. Editor works normally outside of Copilot CLI.
Environment
Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response