Skip to content

Refresh the observed tmux pane after resize - #169

Merged
tony merged 2 commits into
masterfrom
fix/71-pane-resize-baseline
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/71-pane-resize-baseline

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

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.

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
@tony
tony force-pushed the fix/71-pane-resize-baseline branch from 96ae64e to a877b9b Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:48
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
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 a877b9b to bd15599 Compare December 5, 2026 13:49
@tony
tony changed the base branch from master to fix/78-pane-process-monitor December 5, 2026 13:49
@tony
tony changed the base branch from fix/78-pane-process-monitor to master December 5, 2026 13:57
@tony
tony merged commit 9391c6b into master Dec 5, 2026
9 checks passed
@tony tony mentioned this pull request Dec 5, 2026
35 of 38 tasks
@tony
tony deleted the fix/71-pane-resize-baseline branch December 5, 2026 20:41

This branch was successfully deployed

1 active deployment
docs — bd155999 Deployed Dec 5, 2026 by tony via build (3.14) #443
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