Skip to content

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

Open
tony wants to merge 3 commits into
masterfrom
fix/91-tmux-version
Open

tony wants to merge 3 commits into
masterfrom
fix/91-tmux-version

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Member

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 added 3 commits December 2, 2026 19:47
why: Capture replay lost the selected server's release suffix.

what:
- Derive pane and window query replies from the capture command.
- 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: 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 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

This branch was successfully deployed

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