Live data from Hacker News

Libghostty is coming

mitchellh.com

61–70 of 275 posts

Re: Libghostty is coming

#61
post #38

I use ghostty daily now. Switched recently. In macOS I can re-map now caps lock to be cmd and it works for cmd+c. Everything else is great, sensible defaults and what's not easily customizable. Gruvbox light theme looks great too. The fact it's written in Zig is awesome too, if you ever question if Zig is ready, ghostty is your answer to that. Not seeing myself going back. It's great experience. Tip: if you combine y…

Other huge projects are Clickhouse and Bun.

Re: Libghostty is coming

#62
License: This is a perfect example of a project I think should be LGPL licensed and not MIT. Why? Let's suppose he's successful and libghostty become ubiquitous. What happens then? At some point you will be using a closed source version of it on Windows or MacOS or whatever - how do you know it's not logging in the background? The potential for this exists today in every commercial terminal emulator, but why make it easy to take something ubiquitous and backdoor it? On the flip side, what's a good reason for it to be MIT licensed?

Re: Libghostty is coming

#64
post #14

How does this compare to https://gitlab.gnome.org/GNOME/vte/ ?

For that matter: how does it compare to libvterm ( https://www.leonerd.org.uk/code/libvterm/ )?

libvterm is great. Ghostty supports many more features, but the most important I hear from other libvterm users are that it's missing scrollback and reflow on resize, which are both pretty major pieces of functionality.

Example: Neovim is considering the switch to libghostty-vt when its ready. https://github.com/neovim/neovim/issues/33155

Re: Libghostty is coming

#66
post #38

I use ghostty daily now. Switched recently. In macOS I can re-map now caps lock to be cmd and it works for cmd+c. Everything else is great, sensible defaults and what's not easily customizable. Gruvbox light theme looks great too. The fact it's written in Zig is awesome too, if you ever question if Zig is ready, ghostty is your answer to that. Not seeing myself going back. It's great experience. Tip: if you combine y…

Other huge projects are Clickhouse and Bun.

ClickHouse is written in C++ (un)fortunately. Although I do think that Zig would fit it quite well too

Re: Libghostty is coming

#68

License: This is a perfect example of a project I think should be LGPL licensed and not MIT. Why? Let's suppose he's successful and libghostty become ubiquitous. What happens then? At some point you will be using a closed source version of it on Windows or MacOS or whatever - how do you know it's not logging in the background? The potential for this exists today in every commercial terminal emulator, but why make it…

Am I missing something? The LGPL only applies to the library itself--you can dynamically link to it from proprietary code. So in this hypothetical scenario, someone could just write a terminal emulator (or IDE, or what have you) that dynamically links to libghostty and put as much telemetry in it as they wanted, couldn't they?

Re: Libghostty is coming

#69
Interesting!

The nix package for ghostty is broken/unavailable on MacOS at the moment, but installing the brew cask (`brew install --cask ghostty`) and a basic config file:

```

font-family = Monaco

theme = dark:Catppuccin Frappe,light:Catppuccin Latte

```

Got me almost everything I used from iTerm2. Nerdfont just worked (in iTerm I think you have to use the `Use a different font for non-ASCII text` setting)

Re: Libghostty is coming

#70

Earlier quoted context omitted.

Other huge projects are Clickhouse and Bun.

ClickHouse is written in C++ (un)fortunately. Although I do think that Zig would fit it quite well too

Yeah ClickHouse is written in C++, though rust is also possible https://clickhouse.com/blog/rust - would be cool to see zig!
Post reply on HN