-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Double-Escape cancellation hangs indefinitely on v1.0.19 (macOS) #2557
Copy link
Copy link
Open
Labels
Description
Description
When pressing Escape twice (double-Escape) to cancel an operation in Copilot CLI v1.0.19, the CLI gets stuck in a "Cancelling" state indefinitely. It never completes the cancellation — the yellow "Cancelling" indicator stays on screen and the CLI becomes unresponsive. The only recovery is to force-quit the process.
Steps to Reproduce
- Start an interactive Copilot CLI session (
copilot) - Submit a prompt that triggers tool execution (e.g., a shell command or multi-step task)
- While the agent is executing, press Escape twice to cancel
- Observe: CLI shows
● Cancellingbut never returns to the prompt
Expected Behavior
Double-Escape should cancel the current operation and return to the input prompt within a few seconds, as documented in the help text.
Actual Behavior
The CLI hangs on ● Cancelling indefinitely. No timeout. No recovery. Must force-quit.
Environment
- Copilot CLI version: 1.0.19 (stable)
- OS: macOS (Apple Silicon, ARM64)
- Shell: zsh
- Terminal: macOS Terminal.app
- Install method: Install script (gh.io/copilot-install)
Notes
- The v1.0.12 changelog mentions "Pressing Escape multiple times during autopilot cancellation no longer leaves the session stuck" — this fix may have regressed or may not cover the non-autopilot interactive mode case.
- Reproducible across different types of operations (shell commands, tool calls).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.