Skip to content

Refresh the observed tmux pane after resize - #169

Open
tony wants to merge 2 commits into
masterfrom
fix/71-pane-resize-baseline
Open

tony wants to merge 2 commits into
masterfrom
fix/71-pane-resize-baseline

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Member

Closes #71
Closes #123

What changed, and why:

A pane size change requests a fresh native capture. The same terminal reaches the new viewport and history, then advances its epoch. The bookmark recipe uses that epoch to detect a rebased history origin.

Checks run:

On Linux, Ruff formatting and lint, ty for Python 3.12 through 3.15, the full pytest suite with doctests, compiled Ghostty comparisons, and the Sphinx warnings-as-errors build passed.

Tool use:

Codex prepared the change and ran the local checks. A separate Codex reviewer replayed the changed behavior and checked the publication tree against the reviewed patch.

why: Local reflow can differ from the rows and dimensions tmux uses.

what:
- Request a native capture when the observed pane changes size.
- Keep the terminal handle and install a fresh epoch on resync.
- Document invalidation of absolute history bookmarks.

Fixes #71
Fixes #123
tony added a commit that referenced this pull request Dec 3, 2026
why: Readers need the behavior and scope of this change at release.

what:
- Add the unreleased entry for PR #169
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:40
why: A pane resize can change the line layout and invalidate row
     bookmarks.

what:
- Document native recapture, the retained terminal and its new epoch.
@tony
tony force-pushed the fix/71-pane-resize-baseline branch from 96ae64e to a877b9b Compare December 3, 2026 23:58

This branch was successfully deployed

1 active deployment
docs — a877b9b8 Deployed Dec 4, 2026 by tony via build (3.14) #342
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document absolute-row bookmarks across a tmux resync TmuxPaneSync can show a different viewport after resize

1 participant