Skip to content

Preserve deferred wrap across tabulation - #184

Open
tony wants to merge 2 commits into
masterfrom
fix/101-tab-pending-wrap
Open

tony wants to merge 2 commits into
masterfrom
fix/101-tab-pending-wrap

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Member

Closes #101

What changed, and why:

Forward tabs at the right margin keep the pending wrap for the next printable character. The Ghostty and xterm profiles also preserve a pending wrap when backward tabulation moves the cursor.

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 2 commits December 2, 2026 19:14
why: Tabbing at the right edge can erase the deferred wrap.

what:
- Share forward tab handling across HT and CHT.
- Follow xterm and Ghostty backward-tab cursor behavior.
- Exercise margins, the next graphic and cursor replies.

Fixes #101
why: Readers need the behavior and scope of this change at release.

what:
- Add the unreleased entry for PR #184
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:57

This branch was successfully deployed

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

Keep pending wrap through a tab at the right edge

1 participant