Skip to content
BENIBIX Learn

Up Arrow Shortcut

AI⌨️ Claude CodeKeyboard Shortcuts

Also known as prompt history, bring back a cleared draft

The key that brings back your past prompts and drafts, newest first.

Think of it like

It is like going back a page to see what you wrote.

Example

Mia sent a prompt with a typo. She presses Up, fixes the word, and sends it again.

Why it matters

Sending a prompt again with a small change is faster than typing it all.

Definition

The Up arrow is the Claude Code shortcut that brings back your past prompts, newest first. History is kept per folder, so it reaches earlier sessions of the same project. It also brings back a draft you cleared with Ctrl+C, and keeps the last ten for the session. When the prompt has more than one line, Up first moves the cursor.

Common mistake

Pressing Up in a long prompt and seeing the cursor move. Go to the top line first.

Key takeaways

  1. 1
    Past prompts. Newest first.
  2. 2
    Per project folder. Across sessions.
  3. 3
    Cleared drafts too. Last ten.

Learn it properly