Skip to content

Build libghostty from a Ghostty submodule and drop libghostty-spm - #1

Merged
KieranP merged 1 commit into
mainfrom
libghostty
Oct 6, 2026
Merged

KieranP merged 1 commit into
mainfrom
libghostty

Conversation

@KieranP

@KieranP KieranP commented Oct 4, 2026

Copy link
Copy Markdown
Owner

The prebuilt libghostty came from a third party, which left the LGPL relink question open, and its Swift wrapper dropped the search counts and kept the selection to itself. Ghostty is now a submodule built by Scripts/build-ghostty.sh with six patches carried from libghostty-spm, and the app drives the C API through its own AppKit layer, after Ghostty's own macOS app, with libintl, glslang and ImGui left out.

  • A user's err_exit no longer closes every zsh tab at its first prompt
  • A config with one bad line keeps the rest instead of being refused
  • The app's font now replaces the user's font-family, not trails it
  • ksh_arrays no longer drops the agent name from command reports
  • A copied file whose name holds a newline is left out of a paste

What this does

What I ran

  • make format
  • make lint
  • make test
  • make build

What I could not verify:

Docs

  • A design note under Docs/design/ if this changes a decision, or the
    reason it does not need one.
  • An entry in BUGS.md if this leaves a gap rather than closing it, tagged
    [Unconfirmed] if nobody has watched it go either way.

@KieranP KieranP self-assigned this Oct 4, 2026
@KieranP
KieranP force-pushed the libghostty branch 16 times, most recently from ef27aa3 to 64ee496 Compare October 6, 2026 07:28
The prebuilt libghostty came from a third party, which left the LGPL
relink question open. Ghostty is now a submodule built with our
patches, driven through the app's own AppKit layer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KieranP
KieranP merged commit 04fb9e2 into main Oct 6, 2026
4 checks passed
@KieranP
KieranP deleted the libghostty branch October 6, 2026 08:07
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