Skip to content

Bump vendored SwiftTerm to 1.99.4 - #74

Merged
jhen0409 merged 1 commit into
mainfrom
bump-swiftterm-1.99.4
Dec 1, 2026
Merged

jhen0409 merged 1 commit into
mainfrom
bump-swiftterm-1.99.4

Conversation

@jhen0409

Copy link
Copy Markdown
Member

Moves the vendored SwiftTerm fork from 1.99.0 (rev 2dad6a1) to 1.99.4 (rev b306696, the latest tag) by 3-way merging the Multiplex patch set onto the new tag. Seven files conflicted; all were small except the implicit link lookup.

Decisions to review

  • Wrapped-path links keep the fork's behaviour. Upstream (#853) now joins link rows only at a recorded full-width wrap and deleted the shape-of-text heuristic. The fork keeps both shape joins (whole-row and pane-segment), re-seated on upstream's new line-map builder, because a tmux/herdr pane or an agent TUI wraps a path with cursor addressing that no terminal records. The cost is the false joins upstream fixed (a URL at the right edge absorbing a ==== rule or the next line's word). The 13 upstream LinkLookupTests that pin upstream's rule are disabled with a reason, not deleted.
  • Upstream's new pointer-scroll recognizers are installed but never begin. The fork's remote-scroll pan already takes trackpad and wheel scrolls; both running would report each scroll twice.
  • Tap-to-open links still go through activateLink. Upstream's new touchLinkActivation path is unused; linkForClick now returns upstream's isExplicit and the fork's rowTexts together.

Other changes

  • Retired, now carried upstream: the Metal viewport backport (#739) and the full-reset alternate-screen clear.
  • Upstream's block selection and smart word selection are merged under the pane selection clamp.
  • The damage-strip narrowing applies only when the paint host is the scrolling TerminalView (the painter is now a shared CoreGraphicsPaintHost extension).
  • docs/agents/swiftterm-fork.md records the bump, the retirements and the divergences; version updated in project.yml and README.md.

Verification

  • visionOS: builds, 1650 unit tests pass, end-to-end attach against the dev-sshd harness renders a live tmux session.
  • iPad: builds, 1661 unit tests pass. The first two local runs failed with "test runner hung before establishing connection" and the third passed with no code change; cause not found.
  • Vendored suite (swift test, macOS): 2257 + 154 tests pass with the 13 disabled.
  • Lint: zero violations.
  • Not checked: real devices, and the Metal renderer beyond compiling and its unit tests.

No line added to fastlane/testflight-whats-new.txt (the 1.99.0 bump didn't either).

Rebuilt the fork from 1.99.0 (rev 2dad6a1) by 3-way merging the patch set
onto upstream 1.99.4 (rev b306696). Seven files conflicted; all were small
except the implicit link lookup.

Upstream now joins link rows only at a recorded full-width wrap and deleted
the shape-of-text heuristic. The fork keeps both shape joins (whole-row and
pane-segment), re-seated on upstream's new line-map builder: a multiplexer
pane or an agent TUI wraps a path with cursor addressing that no terminal
records. The thirteen upstream LinkLookupTests that pin upstream's rule are
disabled, not deleted.

Other divergences added: upstream's pointer-scroll recognizers never begin
(the remote-scroll pan already takes trackpad and wheel scrolls), and touch
link activation stays on activateLink. Upstream's block selection and smart
word selection are merged under the pane selection clamp.

Retired, now carried upstream: the Metal viewport backport (#739) and the
full-reset alternate-screen clear.

Inventory in docs/agents/swiftterm-fork.md.
@jhen0409
jhen0409 marked this pull request as ready for review December 1, 2026 05:00
@jhen0409
jhen0409 merged commit 0ad1f0a into main Dec 1, 2026
5 of 6 checks passed
@jhen0409
jhen0409 deleted the bump-swiftterm-1.99.4 branch December 1, 2026 05:00
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.

1 participant