With Ghostty 1.3 out the door, my focus is now on completing the libghostty C API (Zig API is already complete). Just added the groundwork for exposing full terminal state and formatting it as plain text, VT, or HTML. github.com/ghostty-org/ghostty

This is all just writing C ABI compatible APIs to the already-existing and heavily real-world proven Zig APIs. For example, the formatter API is how our copy/paste works (the HTML format is the source of truth for Ghostty 1.3's rich text copy). And of course, the terminal API is literally the core Ghostty terminal emulator!

The major API I need to do next is the "render state" API. Formatters are made for infrequent point-in-time snapshots; they aren't particularly performant. The render state is a stateful API for building high performance render loops and its what the Ghostty GPU renderer is built on top of. Will come soon...

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/mitchellh/statuses/116229962903577586 on your instance and quote it. (Note that quoting is not supported in Mastodon.)