Ctrl+S in Claude Code

Stash the prompt, or restore the stashed prompt.

Mac

Ctrl+S

Windows

Ctrl+S

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+Z: Suspend Claude Code to your shell (Unix). Run fg to resume.
  • Esc: Interrupt Claude mid-turn, keeping the work so far, or close a dialog.
  • Esc Esc: Clear the input draft, or on empty input open the rewind menu.

All keyboard shortcuts

Remember it next time

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