Skip to content

Flag uncertain emoji columns in older tmux captures - #174

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

tony merged 2 commits into
masterfrom
fix/120-capture-grapheme-fidelity

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #120

What changed, and why:

A widening emoji presentation selector can shift a neighboring cell in tmux before 3.5. The decoder retains the captured cells and lists grapheme_widths for older or unknown producer versions. Pass the producer version when decoding raw capture output.

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 #174
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:45
@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 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 #174
- Preserve previously published notes and the parent branch's entries
@tony
tony force-pushed the fix/120-capture-grapheme-fidelity branch from 7805201 to 139dd95 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
tony force-pushed the fix/120-capture-grapheme-fidelity branch from 139dd95 to 28a27ca Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:28
why: Older tmux can shift a cell next to an emoji selector.

what:
- Use the selected server version when assessing capture fidelity.
- Preserve raw capture cells and report uncertain grapheme widths.
- Exercise pre-3.5 emoji and ordinary-width controls.

Fixes #120
why: An older tmux capture can shift the cell after a widening emoji
     selector.

what:
- Document the width flag and how to pass the server version.
@tony
tony force-pushed the fix/91-tmux-version branch from b864c9b to 8176c89 Compare December 5, 2026 13:29
@tony
tony force-pushed the fix/120-capture-grapheme-fidelity branch from 28a27ca to a973711 Compare December 5, 2026 13:29
@tony
tony changed the base branch from fix/91-tmux-version to master December 5, 2026 13:36
@tony
tony merged commit 3910dbe into master Dec 5, 2026
25 of 26 checks passed
@tony tony mentioned this pull request Dec 5, 2026
35 of 38 tasks
@tony
tony deleted the fix/120-capture-grapheme-fidelity branch December 5, 2026 20:41

This branch was successfully deployed

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

tmux 3.4 can shift an emoji neighbor in an exact pane capture

1 participant