logoalt Hacker News

mitchellh • yesterday at 5:36 PM • 27 replies • view on HN

These are Ghostty GUI release notes, but I want to take a moment to highlight the libghostty progress we've made since Ghostty 1.3.

As a reminder, libghostty is the highly portable, embeddable library that provides core terminal emulation, render state, and more. I always felt that a free, high qualty, lightweight, reusable terminal emulation core would benefit the developer world more than any single GUI application. And that is playing out!

It is and always was my true purpose with the Ghostty project (I said this in my first ever talk about Ghostty!). I've jokingly said many times that Ghostty GUI is just a glorified tech demo for libghostty. That's not fair though, because GUI is great and there are really talented people working on it.

Since I started the project, Ghostty has always gotten people saying "I don't understand why you'd start a terminal emulator today." Well, the answer is libghostty. It's truly unique and its enabling something special (imo!).

Highlights of libghostty since 6 months ago (none of the below was true 6 months ago):

- Libghostty has nearly 100% coverage of all of Ghostty's core (and you can compile with flags to remove any of these features for size/safety): https://libghostty.tip.ghostty.org/

- Libghostty now builds and is tested (in CI) for: Apple (macOS, iOS, visionOS), Windows (MSVC and GNU), Linux, FreeBSD, Android, WebAssembly, and freestanding (i.e. direct on hardware with no OS).

- Libghostty has bindings in pretty much every popular programming language: C, Zig, Go, Swift, Python, Rust, .NET, etc.

- Libghostty's memory requirements have dramatically shrunk to enable the portability above. There's still work to do but a single empty terminal now takes 90% less memory. And at scale I've proven 10,000 active (input/output happening) terminals on a Linux server with 4 cores and 8 GB of RAM.

- Libghostty powers all JetBrains IDE terminals, over 12.5 million active users. https://blog.jetbrains.com/platform/2026/10/jetbrains-termin...

- Libghostty is the most popular core behind the wave of venture-backed "agentic" terminals and editors, such as Herdr, cmux, and many others.

- Libghostty is being discussed and has been verbally accepted to replace the terminal core in Neovim: https://github.com/neovim/neovim/pull/39773 (work still to be done)

- Libghostty powers a really popular and powerful terminal emulator for emacs (Ghostel): https://github.com/dakra/ghostel

- Libghostty's speed is used by Antithesis to fuzz popular terminal programs and has directly led to hundreds of bug fixes sent upstream to programs such as tmux, btop, shells, and other terminal emulators. :)

- And so much more: https://github.com/Uzaaft/awesome-libghostty

Libghostty is really successfully turning into the tide that raises all boats. As it becomes more popular, Ghostty itself gets more performant and stable, and so does everyone else. It is also a vehicle for delivering modern terminal emulation to the widest source possible.

I plan on tagging libghostty 1.0 in the next few months and declaring ABI stability at that point!


Replies

why-el • yesterday at 6:33 PM

Because of your multiple "I am tired of saying this, but this text was written by me and not an LLM" in your blog posts, I want to tell you that I read it word for word. :D I know this comment adds not much but I felt it needed to be said.

➕ show 2 replies
sho_hn • yesterday at 6:54 PM

I'm from the KDE project, and have been working on a new frontend built on libghostty-vt to hopefully one day ease our maintenance burden.

It's been a quite smooth experience, and I remain very excited about the lib. I believe you are successfully setting the standard. Big congrats for your 1.4.0!

➕ show 1 reply
ashkankiani • yesterday at 8:11 PM

Thank you for your work on this. When I was working on neovim core and started dealing more and more with the edge cases of libvterm and terminal emulation in general, I had the same thought "we should just have a gold standard library for this." But that was 6/7 years ago (2019) and a lot of stuff happened in that interim unrelated to engineering that demotivated me from pursuing it.

Periodically, I would run into TUI issues and think "I should just finally do it," especially around wanting to replace tmux in general. But I knew from experience the long tail of annoying issues for terminals that it's more time consuming than it appears, and so I again never bothered.

Thanks for the good work to raise all boats :)

I tend to move away from terminal emulation towards GUI when I can (and using custom remote protocols somewhat inspired by arcan), but TUI is still useful for a while. I actually had a need for a good terminal emulation library for the fallback TUI/pty attachment for non-gui programs for my supervisor, so I'll try out libghostty.

Atreiden • yesterday at 9:44 PM

Just wanted to say thank you for all your contributions to our industry, Mitchell. I love Ghostty and your vision here, and evangelize it whenever I can.

It's a pleasure reading your posts.

febed • yesterday at 6:49 PM

As a fairly recent ghostty user I was surprised with how quickly it became my default terminal. Very smooth experience so far.

twelvenmonkeys • yesterday at 6:26 PM

Thanks for the work on getting libghostty 1.4 out! :D

Wanted to add too that I can't wait for xterm to eventually support libghostty, you've been super supportive providing feedback!

https://github.com/xtermjs/xterm.js/issues/5686

➕ show 1 reply
_doctor_love • yesterday at 11:24 PM

> And at scale I've proven 10,000 active (input/output happening) terminals on a Linux server with 4 cores and 8 GB of RAM.

When you say you've proven, are you hinting at use of formal verification?

riskassessment • yesterday at 6:54 PM

Agreed on the value of libghostty. I switched from vterm to ghostel recently and it's solved some refresh issues I previously had with vterm when using CLI coding agents in emacs.

trollbridge • yesterday at 7:46 PM

Maybe I’m just dreaming here but how far off is libghostty for Linux consoles?

➕ show 1 reply
olwmc • yesterday at 9:31 PM

Absolutely incredible. You've convinced our team to start getting to work in Zig and we're loving it!! Thanks for all you do

yjftsjthsd-h • yesterday at 6:00 PM

> Libghostty now builds and is tested (in CI) for: [...] freestanding (i.e. direct on hardware with no OS).

That's really cool, but I'm drawing a blank; what's it used for? Embedded terminal something?

➕ show 1 reply
derwiki • yesterday at 10:17 PM

I know it’s been said elsewhere ITT, but thank you for making and supporting Ghostty!

bmitc • yesterday at 11:00 PM

What are use cases of libghostty? Is it for building things like the terminal inside VS Code or any other such GUI application?

ExoticPearTree • yesterday at 10:03 PM

Any plans for Ghostty to have the history of the terminal window reloaded on restart? Like the Mac native terminal app does? I am a heavy terminal user with a lot of tabs open, and after I restart the computer for whatever reason, I would like to have my terminal(s) as I left them.

➕ show 1 reply
jen20 • yesterday at 7:39 PM

Aha, I wondered why the JetBrains terminals had become so much better recently. Didn't realize they'd made the switch.

ncphillips • yesterday at 7:17 PM

Great stuff! If it wasn't for Rex I'd still be using Ghostty daily

nico • yesterday at 7:12 PM

Thank you for making Ghostty, it’s a pleasure to use it everyday for work :)

bombcar • yesterday at 5:47 PM

But could it do two rows of tabs?

dr_dshiv • yesterday at 6:42 PM

Is the launch timed for Halloween parties? Good job team + community!

ChickeNES • yesterday at 9:25 PM

Isn’t it written in Zig? Not sure how that is “highly portable” compared to C

➕ show 3 replies
geokon • yesterday at 10:17 PM

terminal emulation keeps playing a central role in "computing" not withstanding it being an ugly prehistoric crocodile. Do you ever envision creating something modern, without the warts and with a design that incorporates half a century of lessons-learned? Something that fills this need but in a more elegant package? I'm asking because you're one of the few people that seems well-positioned to make a clean-slate replacement

I personally avoid using the terminal as much as possible b/c the whole things feels very archaic/fragile/baroque - but the central idea seems great and I'd love a modern take on it

Onavo • yesterday at 7:27 PM

If I don't want to use the wave of "venture backed ghostty wrappers" for remote mobile coding similar to Claude Code remote, what options do I have? Any plans for a first party remote solution that's not SSH?

➕ show 2 replies
latchkey • yesterday at 6:16 PM

the web version powers our quickstart via a cloudflare websocket and some custom patches (only on desktop): https://hotaisle.xyz/quick-start

it is all open source: https://github.com/hotaisle/hotaisle-website

colechristensen • yesterday at 6:45 PM

Why is libghostty better than alacritty?

Although not necessarily advertised as such, I've been successfully using alacritty in several projects injecting terminals into things both serious and silly.

➕ show 1 reply
axiosgunnar • yesterday at 9:34 PM

[dead]

TrueDuality • yesterday at 5:51 PM

I'm super excited for you and this, but this is mostly a highlight list of who is using your library. I was kind of excited to read about the actual changes to the library but I suppose I can go read the changelog on my own.