HeadlinesBriefing HeadlinesBriefing.com

libghostty 1.0 Released: Stable Terminal Emulation Library

Hacker News •
×

libghostty-vt 1.0 is now stable, marking a major milestone for the portable, high-performance C library extracted from Ghostty. The release enforces ABI stability, ensuring compatibility across distributions and operating systems. Over the past year, libghostty has been adopted by JetBrains IDEs—powering terminals in IntelliJ, PyCharm, and Go Land for over 12.5 million active users—and integrated into Neovim, KDE’s Konsole, Vercel’s Turborepo, and Emacs. It’s also used in tools like devenv, Antithesis (for fuzzing), and commercial products such as Orb Stack. New terminals and agentic coding tools, including herdr and cmux, are built on it instead of creating new emulators. Community bindings exist for Rust, Go, JavaScript, Swift, Python, .NET, Elixir, Dart, and Java, with over a hundred projects tracked on the awesome-libghostty list. More people now use libghostty-powered terminals than the Ghostty app itself.

ABI Stability is central to the 1.0 release. The library follows semantic versioning and guarantees strict ABI compatibility. Designed with opaque handles and enum-keyed getters/setters, it allows future additions without breaking existing binaries. Programs linked against older versions receive GHOSTTY_UNSUPPORTED instead of crashing. Structs carry their size for safe field appends, enums are pinned to int, and CI enforces policy via libabigail on Linux and golden manifests on macOS and WebAssembly. On ELF platforms, symbols are versioned to prevent mismatched loads.

Source: Hacker News · Summarized by HeadlinesBriefing