Hacker News new | past | comments | ask | show | jobs | submit
> “And a whole wave of new terminals and "agentic" coding tools, such as herdr and cmux, have been built on it rather than writing yet another emulator.”

Mitchell could have easily snuck his competing product Rex in there but resisted. Respect.

loading story #50401883
loading story #50401624
loading story #50402016
I'm currently working on my own Zig project (an interpreter) and right now I'm working on designing a C interface for it. Seeing things mentioned like having objects as opaque handles, or enum-keyed getters and setters, made me think about how clunky my current API is, since I leak too many details to callers.

What really caught my attention was this: "So from the start, I took inspiration from C libraries I enjoyed working with and designed the API to have a strong, stable ABI that allows for future additions." What are good examples of this? I feel like I just don't have enough experience with well-designed C libraries to know what to look for.

Libghostty is a very cool project, this is an exciting release, kudos to mitchellh for spearheading this as well as all the people who have made contributions to the project. I use ghostty as my primary terminal emulator today and a few months ago I was experimenting with using libghostty in an android project that I plan to jump back to someday when I have the time, so I personally benefit from this work.
loading story #50400541
loading story #50402685
One area where Ghostty really shines is with fancy TUI programs like the pi agent. Pi has a relatively recent tuiMode "fullscreen" feature, and it's been exceptional. Showing inline images with the Kitty graphics protocol has been a huge improvement too -- I love it when a model calls `read` on an image file and I get to see the results in my terminal. The OSC-8 hyperlink support very handy too. Viewport scrolling is super fast, and pi can hide/show the scrollbar as you need it.
loading story #50405246
> Every bug any libghostty-vt embedder reports makes everyone else in the ecosystem better. Every feature we ship in libghostty-vt becomes available to everyone quickly and safely. Terminals can move faster with less fragmentation.

Can anyone give a comparison to libvte? There are many terminals that are just thin wrapper around that (gnome-terminal, xfce4-terminal, mate-terminal, lxterminal, sakura, …). It is tied to GTK, so it has a much narrower scope. But still it feels related in spirit.

Libghostty is such an awesome project, I didn't myself understand the vision a year ago but I've since then been working on my own terminal project using Libghostty and it really does just work and save me such a tremendous amount of work. Kudos to all the contributors!
I'm still on iTerm2, simply because it just seems to work and has all the features I want

Occasionally I'll check out other terms people rave about. Tried kitty, wezterm, and a few others a while back, but wound up coming back to iterm.

Still, really happy to see things like this gaining traction. An easy way to implement high performance terminals in any application is a boon

loading story #50401502
Libghostty made the best terminal for Emacs possible (Ghostel). Thank you Mitchell.
The documentation for libghostty is great, I'm reading through the guides and examples. It feel like a fun way to build your own terminal emulator GUI in C, Zig, or other languages with C bindings.

https://lib.ghostty.org/vt/example-programs.html

It also looks useful for testing and developing text interfaces (TUI), like file navigator, editor, dashboard, etc.

Wow. This is how you write a library.
Great stuff, congrats to mitchellh and the other Ghostty devs!

Kwi's (a KDE embedder) CI/CD and its Flatpak builds/repo have moved to the new version.

loading story #50403453
does anyone have a terminal setup with gorgeous colors/background/etc over ssh without a display manager? Looking for a lightweight server side environment. I keep searching for headless / framebuffer / DRM setups and there seems to be a few out there, wondering if these exist in a practical workflow.
loading story #50401127
congrats to mitchell and team!
loading story #50403527
an early christmas present, thanks mitch and team
I wonder how the author makes the work financially sustainable.
He's a billionaire, has sponsors and has a startup.
Huh, I was told billionaires are evil.
"Mitchell Hashimoto is a software developer and entrepreneur best known as the co-founder of HashiCorp, which was acquired by IBM for $6.4 billion in 2025."
loading story #50401219
loading story #50401845
loading story #50403479
loading story #50403685
In the age of perpetual 0.x software, it's nice to see a well-known project get to 1.0
loading story #50400637
And we still don't have Ghostty for Windows
loading story #50400872
loading story #50400727
loading story #50401141
The only thing I miss from WezTerm is the super configurable cursor (because of course I need a pulsating one)
is mitchell hashimoto literally one of the main tanks carrying all of open source right now? what a neat contribution!!!
{"deleted":true,"id":50401368,"parent":50399933,"time":1794022157,"type":"comment"}
What's better, iTerm2 or Ghostty?
loading story #50401164
loading story #50401118
loading story #50400859
loading story #50401138
loading story #50400999
loading story #50400974
I’m curious why they chose to use C for this as opposed to Zig with a c like interface.
loading story #50400677
loading story #50400690
loading story #50400698
loading story #50400726
loading story #50400946
Related, from the foot side: I've been porting foot (dnkl's Wayland terminal) natively to macOS: AppKit, CoreText, Core Animation, CPU rendering like upstream. On top of it I added native tabs, a Quake-style drop-down terminal and Ghostty-style splits.

What I'm working on now is close to what libghostty enables: a daemon that runs foot's terminal core headless, so programs keep running when the app quits or crashes, and windows come back with their scrollback. Next I want to attach to sessions on other machines over SSH.

https://github.com/gobijan/foot-macos

libghostty has been awesome for tui-test, excited for the stable api
loading story #50402586
This is so fuckin' cool.
loading story #50405099
loading story #50403429
loading story #50402743
Tried libghostty-vt 1.0 as Mudlet's ANSI decoder - no measurable speed gain in tests and its terminal grid doesn't suit a MUD client (UTF-8 only, scrollback can't be edited), but I reckon it'd make a great terminal pane for cursor-addressed game screens.
Curious how stable the public ABI is intended to be now that JetBrains and others are embedding it this quickly. Is the 1.0 promise closer to "API surface won't break" or more "we won't break you without a major version"?
loading story #50402513
[flagged]
loading story #50400624
loading story #50400683
loading story #50400660
loading story #50400598