r/commandline • • 26d ago

Terminals Ghostty Terminal's libghostty reached 1.0, and is now ABI stable

https://mitchellh.com/writing/libghostty-1-0
145 Upvotes

16 comments sorted by

17

u/stianhoiland 26d ago

This is very big. Explosion of terminality incoming (not to speak of what's already come of this)! The terminal is starting to scuffle with the web as a platform.

26

u/cortex- 25d ago

The terminal comeback has been one of the good things about AI. When I was in university in the 2000s some people declared the terminal to be dead.

Plaintext is king baby.

2

u/output_broadcast 25d ago

That's kinda my problem with terminals. They aren't necessary for plaintext. A simple file-based approach would be far better. Hell, Jupyter Notebooks is halfway there already.

1

u/[deleted] 24d ago

[removed] — view removed comment

2

u/output_broadcast 24d ago

I mentioned Jupyter, which is a decent jumping off point, but also something like Emacs' file-based shell (M-x shell). The point is that it's a file so you can edit the "terminal" like any other file instead of the clunky prompt editing that readline and it's ilk provide. It'd also be faster since results would be written directly to a file instead of going through the tty.

1

u/editor_of_the_beast 25d ago

Think about that for a second.

5

u/TTwelveUnits 26d ago

What does that mean

18

u/cortex- 25d ago

Application Binary Interface. It means you can use it as a linked library and embedd the terminal inside other projects like IDEs without worrying about compatibility.

15

u/tfsh-alto 26d ago

You could try reading the article. Libghosty is a terminal emulation library, Ghostty is a terminal built upon it. Now it's 1.0 it'll follow ABI compatibility and applications can link against it with guarantees (such as Intellij, etc).

3

u/output_broadcast 25d ago

I assume he doesn't know what ABI is.

0

u/droctagonapus 25d ago

its a developer concern. if you arent a dev, you probably dont know what a library or abi is, but they're important concepts for devs

1

u/Thiht 25d ago

That’s amazing. libghostty might be one of the best things to happen to the tty ecosystem in decades.

1

u/mossy_stile 12d ago

Finally gives native apps a real alternative to bundling xterm.js inside Electron or fighting libvte.

0

u/AutoModerator 26d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: TheTwelveYearOld, Flair: Terminals, Post Media Link, Title: Ghostty Terminal's libghostty reached 1.0, and is now ABI stable

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/[deleted] 24d ago

[removed] — view removed comment

3

u/tristan957 24d ago

One of the maintainers has started working on it.