Skip to content

build(deps): move libghostty to the Ghostty v1.4.0 release - #38

Merged
WolffTech merged 1 commit into
mainfrom
chore/bump-ghostty-1.4.0
Nov 8, 2026
Merged

WolffTech merged 1 commit into
mainfrom
chore/bump-ghostty-1.4.0

Conversation

@WolffTech

Copy link
Copy Markdown
Owner

libghostty 1.0 just shipped, which prompted a look at our terminal dependency. That 1.0 is libghostty-vt, the standalone VT library with a stable C ABI. We don't use it: SSH tabs embed Ghostty's surface API through GhosttyKit, which the 1.0 promise doesn't cover. Our pin was an untagged main commit from September (de53b335, v1.3.1+2689), 556 commits behind Ghostty's latest release.

This moves Vendor/ghostty to the v1.4.0 release tag, so we build the same surface API that a shipped Ghostty.app uses. v1.4.0 requires Zig 0.17.0, so the pinned Zig in Scripts/build-libghostty.sh moves from 0.16.0 to 0.17.0, with the checksum from ziglang.org. The ghostty.h changes between the two commits are additive only: a new resize-window action and ghostty_surface_paste_text. The license manifest, third-party notices and SECURITY.md now show the new version.

Proof: I rebuilt GhosttyKit from v1.4.0 and ran the full xcodebuild test suite, which passed, including the real-surface terminal suites. I also launched the app, opened a local terminal tab, and ran a command with ANSI colors; it rendered correctly and accepted input.

- Pin Vendor/ghostty to the v1.4.0 release tag
- Build with Zig 0.17.0, which v1.4.0 requires
- Update license manifest, notices and SECURITY.md versions
@WolffTech
WolffTech merged commit 25c3e6b into main Nov 8, 2026
2 checks passed
@WolffTech
WolffTech deleted the chore/bump-ghostty-1.4.0 branch November 10, 2026 20:20
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