Skip to content

feat(shortcuts): page chat and terminal history with configurable overlap #808

Closed

Description

@kratam

Problem

On an iPad with an external keyboard, reading chat or terminal history still requires touch/scrollbar interaction. App-level page-up and page-down actions would allow reading without moving focus out of the message input.

Proposed behavior

  • Add customizable Mod+Shift+PageUp and Mod+Shift+PageDown app actions for the selected pane. Defaults follow the existing app-shortcut policy.
  • Scroll the visible Chat transcript or the native herdr-owned Terminal viewport, without sending keys to the running program.
  • Add a per-browser Paging setting for overlapping rows: default 1, 0 means a full viewport. The page step is bounded to at least one row (or pixel in Chat).
  • Preserve message drafts/carets and modal focus. Page-up should leave Chat's follow-bottom state immediately.
  • Keep native terminal scroll ownership, intent ordering and search behavior unchanged. No server/protocol change or xterm scrollback.

This is independent of the recorder UI proposal in #798. I am preparing an isolated contribution from current main with chat/terminal, overlap, repeated-key, focus and no-PTY-input coverage. Please let me know if a different default or setting would fit better.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions