Skip to content

copy mode page scrolling ignores tmux-style boundaries #459

@reobin

Description

@reobin

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.

Current behavior

In copy mode, Ctrl-U and Ctrl-D scroll by the visible pane height and do not move the cursor when scrolling clamps at the top of history or live bottom.

Expected behavior

Page scrolling should match tmux-style copy mode: full-page movement leaves room for the prompt/status area, and any leftover movement at scrollback boundaries moves the copy cursor.

Reproduction

  1. Open a pane with enough scrollback.
  2. Enter copy mode.
  3. Use Ctrl-U, or Ctrl-D near the top of history or live bottom.
  4. Notice that the viewport clamps but the copy cursor does not consume the remaining page movement, so it
    stays in the wrong row.

Impact

Copy mode navigation feels off and can leave the cursor in the wrong place at scrollback boundaries.

Environment

  • Herdr version: 0.6.8
  • Update channel (stable or preview): stable
  • Operating system: archlinux
  • Terminal: ghostty
  • Shell, if relevant: bash

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