Skip to content

Keep Ghostty repeat history across cursor movement - #185

Merged
tony merged 2 commits into
masterfrom
fix/104-cursor-motion-rep
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/104-cursor-motion-rep

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #104

What changed, and why:

On the Ghostty profile, REP repeats the last spacing character at the new cursor position after motion or a style change. A hard reset clears the retained character.

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 #185
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:58
@tony
tony force-pushed the fix/104-cursor-motion-rep branch from 524a396 to 14aaccb Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:39
why: Ghostty repeats its last spacing character after cursor movement.

what:
- Keep repeat history through controls for the Ghostty profile.
- Retain hard-reset clearing and spacing-character semantics.
- Exercise intervening motion, style, OSC and DCS.

Fixes #104
why: REP can follow a cursor move or a style change before the next
     spacing character.

what:
- Document which character repeats and when a hard reset clears it.
@tony
tony force-pushed the fix/104-cursor-motion-rep branch from 14aaccb to a5a78b7 Compare December 5, 2026 13:39
@tony
tony changed the base branch from master to fix/100-retained-live-row December 5, 2026 13:39
@tony
tony changed the base branch from fix/100-retained-live-row to master December 5, 2026 13:44
@tony
tony merged commit fcbf571 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/104-cursor-motion-rep branch December 5, 2026 20:41

This branch was successfully deployed

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

Match Ghostty’s REP history after a cursor movement

1 participant