# Up Arrow Shortcut

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** prompt history, bring back a cleared draft

## Think of it like

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

## 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.

## 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.

## Common mistake

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

## Three principles

- **Past prompts.** Newest first.
- **Per project folder.** Across sessions.
- **Cleared drafts too.** Last ten.

## Related terms

- [Ctrl+R Shortcut](https://learn.benibix.com/term/ai/ctrl-r-shortcut)
- [Ctrl+C Shortcut](https://learn.benibix.com/term/ai/ctrl-c-shortcut)
- [Esc Esc Shortcut](https://learn.benibix.com/term/ai/double-esc-shortcut)

## Taught in

- [Claude Code Prompt Shortcuts](https://learn.benibix.com/learn/ai-claude-code/claude-code-prompt-shortcuts): Claude Code, 4/16

---

Source: https://learn.benibix.com/term/ai/up-arrow-shortcut
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
