Skip to content

Report panes outside the tmux control client's session - #166

Merged
tony merged 2 commits into
masterfrom
fix/76-pane-lifecycle
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/76-pane-lifecycle

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #76

What changed, and why:

An observer checks pane membership against its attached control client's session. OUT_OF_SCOPE preserves the last captured frame, and the same terminal can resync when the pane is reachable again.

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 #166
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:38
@tony
tony force-pushed the fix/76-pane-lifecycle branch from 56dcea1 to f529259 Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:48
why: A moved pane can stop sending bytes while its observer stays live.

what:
- Confirm pane membership in the control client's session.
- Retain the last screen and allow same-handle resync.
- Cover moved, linked and closed panes.

Fixes #76
why: A control client can lose access to a pane while its last screen is
     still useful.

what:
- Document scope checks and when the retained pane can resynchronize.
@tony
tony force-pushed the fix/75-control-command-ownership branch from 4b300fd to ddfe332 Compare December 5, 2026 13:49
@tony
tony force-pushed the fix/76-pane-lifecycle branch from f529259 to 831ffcc Compare December 5, 2026 13:49
@tony
tony changed the base branch from fix/75-control-command-ownership to fix/71-pane-resize-baseline December 5, 2026 13:49
@tony
tony changed the base branch from fix/71-pane-resize-baseline to master December 5, 2026 13:57
@tony
tony merged commit 849b659 into master Dec 5, 2026
18 checks passed
@tony
tony deleted the fix/76-pane-lifecycle branch December 5, 2026 20:41

This branch was successfully deployed

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

A moved pane stays live after its control stream loses it

1 participant