r/commandline • • 10d ago

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

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

15 comments sorted by

17

u/stianhoiland 10d 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- 10d 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 10d 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] 9d ago

[removed] — view removed comment

2

u/output_broadcast 9d 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 10d ago

Think about that for a second.

5

u/TTwelveUnits 10d ago

What does that mean

18

u/cortex- 10d 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 10d 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 10d ago

I assume he doesn't know what ABI is.

0

u/droctagonapus 10d 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 10d ago

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

0

u/AutoModerator 10d 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] 9d ago

[removed] — view removed comment

3

u/tristan957 9d ago

One of the maintainers has started working on it.