Skip to content

Navigate between the prompts also navigates within the text of the prompt #5454

@ajitid

Description

@ajitid

What do you want to change?

Using up/down arrow keys to navigate between the previous and next prompt also causes to navigate within the text of the current prompt itself in case the prompt is multiline.

pi.mp4

Why?

Expected behavior (even without using other agents) is when up/down arrow keys to go to prev/next prompt, it should only do that.

How? (optional)

There are two approaches:

  1. Put cursor at the end of where we are navigating. For example, if we are navigating using up arrow, put cursor at the start of the prompt. This is what Cursor agent CLI does:
Screencast.From.2026-06-06.12-43-13.mp4
  1. Keep cursor where it is and during navigation. If user presses anything other than up or down arrow, exit navigation mode and enter editing mode back again. This is possibly what Antigravity CLI does:
Screencast.From.2026-06-06.12-39-17.mp4

I like Cursor CLI behavior here.

This is a feature request and not a request to raise a PR.

Metadata

Metadata

Assignees

Labels

inprogressIssue is being worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions