? on empty input in Claude Code

Toggle the shortcut help panel.

Mac

? on empty input

Windows

? on empty input

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

  • Ctrl+C: Interrupt a running operation, or clear the input. A second press on empty input exits.
  • Ctrl+D: Exit the session (press twice). With text in the prompt it deletes the next character.
  • Ctrl+G: Open the prompt in your default text editor.

All keyboard shortcuts

Remember it next time

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