Skip to content

Report hidden continuation state in tmux captures - #172

Merged
tony merged 2 commits into
masterfrom
fix/113-capture-continuation-fidelity
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/113-capture-continuation-fidelity

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #113

What changed, and why:

Capture completeness reports whether later input can depend on missing preceding-graphic, grapheme, or UTF-8 prefix state. Visible-cell fidelity continues to describe the captured frame.

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 #172
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:42
@tony
tony force-pushed the fix/113-capture-continuation-fidelity branch from 747b412 to 1fb719a Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:20
why: An exact frame can leave later input dependent on missing bytes.

what:
- Report the preceding graphic, grapheme and UTF-8 prefix.
- Document the continuation limits of pending tmux capture bytes.
- Check that exact visible cells can accompany unknown state.

Fixes #113
why: A pane capture cannot expose all the state needed to interpret the
     next byte.

what:
- Name the missing REP, grapheme and partial UTF-8 state.
@tony
tony force-pushed the fix/113-capture-continuation-fidelity branch from 1fb719a to 3866c30 Compare December 5, 2026 13:21
@tony
tony changed the base branch from master to fix/108-pty-argv December 5, 2026 13:21
@tony
tony changed the base branch from fix/108-pty-argv to master December 5, 2026 13:26
@tony
tony merged commit 87b06c5 into master Dec 5, 2026
16 of 17 checks passed
@tony tony mentioned this pull request Dec 5, 2026
35 of 38 tasks
@tony
tony deleted the fix/113-capture-continuation-fidelity branch December 5, 2026 20:41

This branch was successfully deployed

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

Report missing continuation state after a tmux pane capture

1 participant