Skip to content

Pane resize only works in one direction #562

@martin-ro

Description

@martin-ro

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 resize mode (prefix+r), a pane only resizes toward the side where it has a neighbor. In a two-pane split, the left pane responds only to right/l and the right pane only to left/h. The opposite key does nothing. Same on the vertical axis (top resizes on down only, bottom on up only).

Expected behavior

Both opposing keys should resize the focused pane: one grows it, the other shrinks it (like tmux/zellij). Pressing toward the outer wall should shrink the pane instead of doing nothing.

Reproduction

  1. Split a pane once so you have left | right.
  2. Focus the left pane, enter resize mode (prefix+r).
  3. Press l/right repeatedly and the divider moves. Press h/left and nothing happens.
  4. Focus the right pane. Now h/left works and l/right does nothing.

Impact

You can only ever grow the focused pane, never shrink it. To shrink one you have to focus its neighbor and grow that instead. Awkward to recover a layout once panes stack up.

Environment

  • Herdr version: 0.6.9
  • Update channel (stable or preview): stable
  • Operating system: macOS 26.3.1 (arm64)
  • Terminal: iTerm2
  • Shell, if relevant: zsh

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