Skip to content

Recall previous pages in viewport-edit-mode #247

@Rutherther

Description

@Rutherther

Sometimes I would like to recall the previous answer when in a viewport mode, when I am directly replying to something that has been said last time. Sometimes I even cancel when I see the LLM is doing something wrong and want to react to that. Sometimes I manage to remember it fully, but sometimes I seem to forget some of the details I wanted to mention in my reply, especially if it's longer. So I am there, in the edit buffer and it seems the only way to go to the previous message is switching to the shell. Am I just missing something here?

This doesn't seem so good to me. I would like to be able to switch to the previous answer in the viewport instead. So what I am proposing here is that you could switch from edit mode to view mode and back. When you call agent-shell-viewport-previous-page, I would say it should remember what you wrote and get you back to the view mode. Then you can again reply, at least with the agent-shell-viewport-reply function, but maybe even better if you could just go to the next page and that one would be the edit page again. With the text you wrote already.

WDYT?

Checklist

  • I've read the README's Issues section.
  • I'm running the latest agent-shell version.
  • I'm running the latest agent version (ie. Claude Code, Geminig CLI).
  • I'm running the latest agent ACP package (ie. claude-code-acp).
  • For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
  • For issues, I'm including ACP traffic (as per README).

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