What is Ghostty terminal

Ghostty is a cross-platform terminal emulator built to be fast, feature-rich, and truly native.

Most terminal emulators require compromises. Some prioritize performance at the expense of the user experience, while others provide rich features but sacrifice speed. Ghostty was created to remove those trade-offs by delivering all three: native platform integration, modern terminal capabilities, and top-tier performance.

The Architecture: Reimagining the Terminal Core

Unlike traditional terminal emulators, Ghostty splits the user interface from the underlying engine. At its center sits libghostty, a cross-platform engine written in Zig that handles font processing, rendering, and terminal emulation.

       ┌────────────────────────────────────────────────────────┐
       │                       libghostty                       │
       │            (Core Emulation Engine in Zig)              │
       └───────────────────────────┬────────────────────────────┘
                                   │
              ┌────────────────────┴────────────────────┐
              ▼                                         ▼
   [ macOS Client Application ]              [ Linux Client Application ]
   Built with: Swift, AppKit, SwiftUI        Built with: Zig, GTK4 C API

This modular decoupling serves a dual purpose:

  • Platform Freedom: It allows developers to build tailored, native front-ends for different operating systems without rewriting low-level terminal mechanics.
  • An Open Ecosystem: While currently an internal framework, the long-term goal is to stabilize libghostty as a standalone, standalone library. This will allow external developers to spin up entirely new terminal concepts built on top of Ghostty’s core infrastructure.

Platform-Specific Implementation (The “Native” Approach)

Ghostty avoids custom-drawn widgets and text-based UIs, opting instead to hook directly into the native design language of your operating system.

  • macOS: Crafted natively in Swift, utilizing AppKit and SwiftUI. It integrates exclusive Apple APIs to support Force Touch, Quick Look, Secure Input, and automatic window state recovery when restarting.
  • Linux: Built in Zig using the GTK4 C API. It acts and feels like a standard GTK application, allowing it to blend cleanly into modern Linux desktop environments.
  • UX Continuity: Keyboard shortcuts, mouse behaviors, tabs, splits, and error handling adapt dynamically to match the standard conventions of whichever operating system you are actively using.

Technical Capabilities & Performance

Ghostty balances extreme internal speeds with a dense feature set, refusing to trade responsiveness for utility.

Performance & Responsiveness

“Speed” in terminal environments covers everything from startup times and frame rates to scrolling throughput. Ghostty is engineered to sit comfortably in the same performance bracket as the absolute fastest emulators available. While it trades top spots depending on the specific benchmark, the real-world result is highly noticeable, crisp snappiness during daily use.

Feature Matrix

DomainFocusHighlighted Capabilities
Terminal IntegrationWhat command-line programs inside Ghostty can do.Full support for the Kitty graphics protocol, hyperlinks, and light/dark notifications. (e.g., enabling Neovim to utilize synchronized rendering to wipe out screen tearing).
Application InterfaceHow you interact with the window itself.Native layout splitting, native tabs, system-level dark/light mode theme toggling, and a drop-down “quake” mode for macOS.

Behind the Code: A Community Effort

Ghostty was launched as a personal passion project and labor of love by Mitchell Hashimoto. It has evolved alongside a dedicated group of contributors who maintain and improve the software entirely in their spare time. Because it is not a full-time corporate job for anyone on the team, the project thrives on a supportive, constructive community spirit.