Skip to content

Report hidden continuation state in tmux captures - #172

Open
tony wants to merge 2 commits into
masterfrom
fix/113-capture-continuation-fidelity
Open

tony wants to merge 2 commits into
masterfrom
fix/113-capture-continuation-fidelity

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Member

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.

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
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
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 747b412 to 1fb719a Compare December 3, 2026 23:58

This branch was previously deployed

1 inactive deployment
docs — 1fb719a5 Deployed Dec 4, 2026 by tony via build (3.14) #302
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