Esc vs Ctrl+C in Claude Code
People think Esc and Ctrl+C both just stop Claude. Esc stops the turn, keeps the work so far, and sends anything you queued. Ctrl+C stops it too, but with nothing running it clears your prompt, and a second press quits Claude Code. Use Esc to steer, and Ctrl+C when you want out.
Esc Shortcut
The key that stops Claude in the middle of a turn and keeps the work done so far.
Esc is the Claude Code shortcut that stops Claude in the middle of a turn so you can steer it. Claude keeps the work it has done so far. If you queued messages, Claude Code sends them next. When a dialog is open, Esc closes it instead.
Ctrl+C Shortcut
The key that stops a task, clears the prompt, or quits Claude Code.
Ctrl+C is the Claude Code shortcut that stops what is running. If Claude is working, it stops the turn. If nothing is running, the first press clears what you typed, and a second press quits. Pressing Up brings a cleared draft back. Ctrl+C is fixed, so it cannot be moved to another key.
In one line
- Esc Shortcut
- The key that stops Claude in the middle of a turn and keeps the work done so far.
- Ctrl+C Shortcut
- The key that stops a task, clears the prompt, or quits Claude Code.