Keyboard Shortcut
Up arrow — cycle prompt history
Cycles backward through your previously typed messages in the current session, the same way shell history works.
If you're re-running a similar instruction with a small tweak — same request, different file — retyping it from scratch is wasted effort. The up arrow pulls your previous messages back into the input box one at a time, ready to edit and resend.
This mirrors how most shells handle command history, so it tends to feel immediately familiar rather than like something new to learn.
Combined with editing before sending, it's a quick way to iterate on phrasing when Claude misunderstood an instruction the first time.
Press the up arrow at an empty inputFrequently asked questions
What does Up arrow — cycle prompt history do in Claude Code?
Cycles backward through your previously typed messages in the current session, the same way shell history works.
How do I use it?
Try: Press the up arrow at an empty input
Any caveats to know about?
Combined with editing before sending, it's a quick way to iterate on phrasing when Claude misunderstood an instruction the first time.
Is this covered in OG Flow Code Premium Toolkit?
Yes — Up arrow — cycle prompt history and patterns like it are covered by the commands, and in higher tiers the specialist agents and guided skills, in OG Flow Code Premium Toolkit. Tiers start at $19.90.
Want the full command, hook, and template pack?
This is one pattern from the OG Flow Code toolkit. Choose the tier that fits your workflow, including Multi-Stack for six additional language stacks.
See pricing — from $19.90 once