Skip to content

Feature request: Up arrow should recall previous prompts in the composer #7

@stefanpieter

Description

@stefanpieter

Feature request

Support using the Up arrow in the chat composer to recall previous messages/prompts.

Problem

In the current chat experience, I can't use the Up arrow to quickly reuse or edit previous prompts.

This makes iterative prompting slower, especially when I want to:

  • resend a similar request with a small tweak
  • recover a previous prompt after a failed run
  • refine a long prompt without retyping it

Requested behavior

When the composer is focused and the cursor is at the start of the input (or the input is empty), pressing the Up arrow should:

  • recall the previous submitted prompt
  • allow stepping back through prompt history
  • ideally allow Down arrow to move forward again

Why this matters

This is standard and very useful behavior in terminal/chat workflows. It makes iterative agent use much faster and reduces friction during debugging and prompt refinement.

Nice-to-have details

  • only trigger history recall when appropriate (for example not when navigating inside multiline text)
  • preserve draft text when stepping through history, if possible
  • scope history per chat/session rather than globally

Originally filed by mistake in formulahendry/vscode-acp: formulahendry/vscode-acp#23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions