Skip to content

Preserve deferred wrap across tabulation - #184

Merged
tony merged 2 commits into
masterfrom
fix/101-tab-pending-wrap
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/101-tab-pending-wrap

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

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 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 #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
@tony
tony force-pushed the fix/101-tab-pending-wrap branch from 4124f39 to 6b0f68e Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:39
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: A tab can arrive after the last column is filled and before the
     next printable character.

what:
- Document the deferred wrap and the profile-specific back-tab behavior.
@tony
tony force-pushed the fix/101-tab-pending-wrap branch from 6b0f68e to 45d6638 Compare December 5, 2026 13:39
@tony
tony changed the base branch from master to fix/104-cursor-motion-rep December 5, 2026 13:39
@tony
tony changed the base branch from fix/104-cursor-motion-rep to master December 5, 2026 13:44
@tony
tony merged commit 208c013 into master Dec 5, 2026
9 checks passed
@tony tony mentioned this pull request Dec 5, 2026
35 of 38 tasks
@tony
tony deleted the fix/101-tab-pending-wrap branch December 5, 2026 20:41

This branch was successfully deployed

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