Live data from Hacker News

Ghostty 1.0

ghostty.org

21–30 of 719 posts

Re: Ghostty 1.0

#22
I initially scoffed when I read "platform-native UI" as I've found programs made in Electron typically proclaim something similar when they are anything but native, so when I saw it used GTK for Linux (SwiftUI for MacOS) my interests were piqued. Always fun to mess around with new terminal emulators.

edit: alas, it doesn't support bitmap fonts..

Re: Ghostty 1.0

#23
post #13

Earlier quoted context omitted.

$ git clone git@github.com:ghostty-org/ghostty.git $ cd ghostty $ zig build -Doptimize=ReleaseFast $ ./zig-out/bin/ghostty

tried this doesn't work do i need some specific zig version?

0.13.0

https://github.com/ghostty-org/ghostty/blob/4b4d4062dfed7b37...

The full script is pretty much:

$ wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0....

$ tar xvf zig-linux-x86_64-0.13.0.tar.xz

$ git clone git@github.com:ghostty-org/ghostty.git

$ cd ghostty

$ ../zig-linux-x86_64-0.13.0/zig build -Doptimize=ReleaseFast

$ ./zig-out/bin/ghostty

Re: Ghostty 1.0

#24

Ghostty has a hard-to-find "quake mode" that may interest some. During the beta I had it configured like this on macOS: keybind = global:cmd+space=toggle_quick_terminal quick-terminal-animation-duration = 0.1 There isn't an option to set the default height of the "quick terminal" window that I'm aware of but you can drag the bottom of the window after it opens and it will persist between toggles.

This is the first thing I went looking for when looking at the docs, thank you.

Re: Ghostty 1.0

#25
post #13

Earlier quoted context omitted.

$ git clone git@github.com:ghostty-org/ghostty.git $ cd ghostty $ zig build -Doptimize=ReleaseFast $ ./zig-out/bin/ghostty

tried this doesn't work do i need some specific zig version?

Zig 0.13 is required according to https://ghostty.org/docs/install/build

Re: Ghostty 1.0

#28
> For example, on macOS, Ghostty supports Quick Look, force touch, the macOS secure input API, built-in window state recovery on restart, etc. These are all native APIs provided by macOS that don't have equivalents in Linux desktop environments.

I believe window state recovery has some approximate equivalent in GNOME and KDE, but maybe not exactly the same (and I don't know how easy it is to integrate with).

Re: Ghostty 1.0

#30
For those who don’t have the background:

- created by Mitchell (founder of HashiCorp)

- it’s developed in Zig (and Mitchell recently pledge $300k to Zig foundation)

- uses native UI (which is super rare for cross platform app)

- amazingly performant. e.g. https://hachyderm.io/@mitchellh/111919642467789362

- has lots of amazing small details like below

https://hachyderm.io/@mitchellh/113330304084905500

https://hachyderm.io/@mitchellh/113443002518588524

https://hachyderm.io/@mitchellh/113166930440000852

This has been a passion project of his for the past 2-years and he’s completely MIT open sourced it. He’s spent a lot of time thinking and ensuring this project can persist in the future even without him.

Many people have tremendous respect for Mitchell’s technical abilities, as well as hugely respect how he operates (genuinely nice person and thinks about things long-term and does the hard work for sustainability).

Lots more to read at: https://mitchellh.com/writing/ghostty-is-coming

Post reply on HN