Skip to content

Use the selected tmux server version for capture and attach - #158

Merged
tony merged 3 commits into
masterfrom
fix/91-tmux-version
Dec 5, 2026
Merged

tony merged 3 commits into
masterfrom
fix/91-tmux-version

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #91
Closes #125

What changed, and why:

A capture now retains the selected server’s full release for version-query replies, including suffixes such as 3.6b. An explicit profile still takes precedence. Pane sync checks whether the server can pause before changing attach state and points callers on tmux 3.1c to one-shot capture.

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. The native capture and attach probes exercised tmux 3.1c, 3.2a, 3.6b and 3.7.

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 #158
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:29
@tony
tony marked this pull request as draft December 3, 2026 01:50
@tony
tony force-pushed the fix/91-tmux-version branch from 7968ec5 to c50a77f Compare December 3, 2026 02:43
@tony
tony marked this pull request as ready for review December 3, 2026 02:43
@tony
tony force-pushed the fix/91-tmux-version branch from c50a77f to b864c9b Compare December 3, 2026 23:58
tony added 3 commits December 5, 2026 07:28
why: Capture replay lost the selected server's release suffix.

what:
- Use the selected server version for pane replay and window snapshots.
- Preserve explicit profile overrides and replay split queries.
why: Older servers cannot acknowledge the pause barrier.

what:
- Check the selected server version before changing the attach phase.
- Direct callers on tmux 3.1c to a one-shot pane capture.
- Test rejection at 3.1c and the accepted 3.2a command.
why: Replying with the wrong release misidentifies the selected tmux
     server.

what:
- Document version suffixes, the profile override and the pause
  requirement.
@tony
tony force-pushed the fix/91-tmux-version branch from b864c9b to 8176c89 Compare December 5, 2026 13:29
@tony
tony changed the base branch from master to fix/86-same-size-resize December 5, 2026 13:29
@tony
tony changed the base branch from fix/86-same-size-resize to master December 5, 2026 13:35
@tony
tony merged commit 81c4f7a 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/91-tmux-version branch December 5, 2026 20:42

This branch was successfully deployed

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

Explain the tmux version boundary for pause-based pane attach Carry the selected tmux version into capture and version replies

1 participant