Skip to content
BENIBIX Learn

Esc vs Esc Esc

People think pressing Esc twice is just a firmer way to stop Claude. It does a different job. One Esc stops Claude in the middle of its work and keeps what it has done, so you can steer it. Esc twice opens the rewind menu, where you jump back to an earlier prompt and undo the code, the chat or both.

AI⌨️ Claude Code

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.

Example
Mia sees Claude start on the wrong folder. She presses Esc and types where to look.
Why it matters
You can change course without losing the work or starting over.
Full entry
AI⌨️ Claude Code

Esc Esc Shortcut

Press Esc twice to clear the prompt, or to go back to an earlier point.

Esc Esc is the Claude Code shortcut you get by pressing Esc twice. When the prompt has text, it clears the text and saves it, so Up brings it back. When the prompt is empty, it opens the rewind menu. There you can take the code and the chat back to an earlier point, or sum them up.

Example
Claude's last two edits broke the build. Leo presses Esc twice on an empty prompt and goes back to before them.
Why it matters
It is the fast way back when a turn went wrong.
Full entry

In one line

Esc Shortcut
The key that stops Claude in the middle of a turn and keeps the work done so far.
Esc Esc Shortcut
Press Esc twice to clear the prompt, or to go back to an earlier point.