Esc Esc in Claude Code

Clear the input draft, or on empty input open the rewind menu.

Mac

Esc Esc

Windows

Esc Esc

Option-key shortcuts need your terminal to send Option as Meta on macOS. Source: Claude Code interactive mode docs, checked 2026-10-24.

More shortcuts

All keyboard shortcuts

Remember it next time

/cards has a flip-card deck for every Claude Code shortcut.