Ghostty – Terminal Emulator

(ghostty.org)

132 points | by oli5679 3 hours ago

15 comments

  • mitchellh 48 minutes ago
    I'm the original creator of Ghostty. It's been a few years now! I don't know why this is on the front page of HN again but let me give some meaningful updates across the board.

    First, libghostty is _way more exciting_ nowadays. It is already backing more than a dozen terminal projects that are free and commercial: https://github.com/Uzaaft/awesome-libghostty I think this is the real future of Ghostty and I've said this since my first public talk on Ghostty in 2023: the real goal is a diverse ecosystem of terminal emulators that aim to solve specific terminal usage but all based on a shared, stable, feature-rich, high performant core. It's happening! More details what libghostty is here: https://mitchellh.com/writing/libghostty-is-coming

    I suspect by the middle of 2027, the number of people using Ghostty via libghostty will dwarf the number of users that actually use the Ghostty GUI. This is a win on all sides, because more libghostty usage leads to more stable Ghostty GUI too (since Ghostty itself is... of course... a libghostty consumer). We've already had many bugs fixed sourced by libghostty embedders.

    On the GUI front Ghostty the apps are still getting lots of new features and are highly used. Ghostty the macOS app gets around one million downloads per week (I have no data on Linux because I don't produce builds). I'm sure a lot of that is automated but it's still a big number. I have no telemetry in Ghostty to give more detailed notes. I have some data from big 3rd party TUI apps with telemetry that show Ghostty as their biggest user base but that is skewed towards people consuming newer TUIs tend to use newer terminals. The point is: lots of people use it, its proven in the real world, and we're continuing to improve it big time.

    Ghostty 1.3 is around the corner, literally a week or two away, and will bring some critically important features like search (cmd+f), scrollbars, and dozens more. In addition to GUI features it ships some big improvements to VT functionality, as always.

    Organizationally, Ghostty is now backed by a non-profit organization: https://mitchellh.com/writing/ghostty-non-profit And just this past week we signed our first 4 contributor contracts to pay contributors real money! Our finances are all completely public and transparent online. This is to show the commitment I have to making Ghostty non-commercial and non-reliant on me (the second part over time).

    That's a 10,000 foot overview of what's going on. Exciting times in Ghostty land. :) Happy to answer any big questions.

    • nvme0n1p1 43 minutes ago
      Now that Ghostty is part of a real org, is there any way people can sponsor specific features/bugfixes? I've been waiting for drag/drop to be fixed on KDE before I make the switch, and I'd be happy to pay for it.
    • aayushdutt 42 minutes ago
      can you make cmd+f work please
      • sethammons 27 minutes ago
        while I agree, the comment you just replied to says:

        > Ghostty 1.3 is around the corner, literally a week or two away, and will bring some critically important features like search (cmd+f), scrollbars, and dozens more

      • eelke 40 minutes ago
        FYI: It is working in nightly!
  • pdimitar 55 minutes ago
    Recently tried multiple terminals because I am gradually migrating off of Macs and I liked Ghostty but the lack of searching the scrollback has turned me away from it. Opening another editor to do the same I tried but didn't like.

    WezTerm has everything I need and is closest to iTerm2, minus being able to quit it and have it restore all windows and tabs on restart -- but oh well, it's not an important enough feature. It also renders my prompt perfectly; no small pixel divergences like all other terminals have.

    Kitty I don't remember why I rejected.

    Alacritty I like but the lack of tabs is not acceptable for the moment... and before you ask: I hate tmux. So much more key presses to achieve basic functionality, it boggles my mind why people love it. But, to each their own obviously.

    It's also likely I'll settle for some Linux-exclusive terminal but as I'm not yet possessing a Linux workstation (just a laptop) I haven't put the requisite time to do this research.

    Suggestions are welcome.

    • dbdr 3 minutes ago
      > Alacritty I like but the lack of tabs is not acceptable for the moment... and before you ask: I hate tmux.

      Another option is to leave the tabbing to your window manager.

    • Crisco 40 minutes ago
      I wouldn't say I love tmux, but I have a configuration file that I put on every computer I use regularly that is very comfortable for me. I basically live in the terminal across many different machines, and having the same interface for managing panes and tabs even when using ssh is invaluable.

      I also use vim (well neovim) as my primary editor, and have set up tmux to integrate well with it, so that might contribute to my appreciation and continued usage of it.

    • jcgl 39 minutes ago
      > Kitty I don't remember why I rejected.

      Maybe worth another look at then? I'm far from a Kitty power user, but it does pretty much everything else I want it to, including working as a quake-style terminal[0]. And you can extend it with kittens[1] if you so desire. Also, the next release should presumably include smooth scrolling[2] which I'm quite looking forward to.

      Maybe more than any one feature though, I appreciate the hard work that Kovid (the creator of Kitty) has done to tastefully add new VT standards and try to make terminals as useful as they can be in the 21st century.

      [0] https://sw.kovidgoyal.net/kitty/kittens/quick-access-termina... [1] https://sw.kovidgoyal.net/kitty/kittens_intro/ [2] https://github.com/kovidgoyal/kitty/pull/9330

    • CoderJoshDK 46 minutes ago
      Scrollback does exist on Ghostty! But you need to switch to “tip”. This can be done in the config file. The tip build is very stable and has many bugs fixed (like various memory leaks).
    • macmccann 47 minutes ago
      there's scrollback search in the nightly build if that's an option for you (I've been using it a ton for a few months and haven't seen any bugs so far):

      https://github.com/ghostty-org/ghostty/releases/tag/tip

    • intothemild 45 minutes ago
      Personally kitty is the only one I keep coming back too. Mostly because it's very customisable, fast, lean, ligatures, separate font for italics, great macro support, and supports automatic tiling panes.
    • leetrout 48 minutes ago
      Scroll back search is coming. You can try it in the nightly.
      • karmakaze 5 minutes ago
        Very glad for that--it's what made me stop my evaluation the first time around. I looked for the feature in issues and just saw #9821 about memory use of the buffer which could be an issue if configuring very large scrollback as I do.

        BTW is there feature parity between macOS and Linux, e.g. scrollback buffer searching on Linux?

      • pdimitar 46 minutes ago
        I'll wait for the stable release and will retest it. Not in a rush and not the early adopter kind of guy.
        • davidkunz 18 minutes ago
          Give it "a week or two"
  • bArray 50 minutes ago
    For anyone using this terminal that hates != (and others) being turned into a single character, I have the following to turn off ligatures:

        font-feature = -dlig
        font-feature = -liga
        font-feature = -calt
    
    This can be updated in `$HOME/.config/ghostty/config`.
    • mitchellh 45 minutes ago
      Note in Ghostty 1.3 we disable discretionary ligatures (I think dlig/calt) by default as recommended by font standards. We still enable liga though that usually contains far less controversial ligatures.
  • s_ting765 25 minutes ago
    I tried this out after getting annoyed for the 100th time by a recent bug in kgx/console that will occasionally fail to launch windows leaving incomplete windows as tabs.

    Console has long since become abandonware pushing people towards ptyxis which is now the default gnome terminal. A damn shame considering console is basically complete software (the quality of software in gnome is on a downhill).

    I would have given ptyxis a chance if they didn't take a basic terminal and added some fluff (features related to distrobox) on top of other annoying things I can't be bothered to remember about because I ended up removing the software every time I gave it a spin.

    In just a few days I've been able to replace console with ghostty-nightly and I don't miss anything.

  • dwedge 1 hour ago
    I like the look of this terminal, but it doesn't work correctly with SSH (top, ncdu for example) unless you hack the $TERM variable. It feels a bit vibecoded even though it isn't.

    To give a little productive criticism, one thing I really miss is when having tiled terminals, I want to be able to full screen one of them temporarily. Double click in iterm allows this, so does mod+f in i3wm. It really is the only thing stopping me from switching to this (and I admit it might be buried somewhere in the settings)

    • mitchellh 1 hour ago
      > To give a little productive criticism, one thing I really miss is when having tiled terminals, I want to be able to full screen one of them temporarily.

      I think you're looking for the `toggle_split_zoom` binding which has existed since Ghostty 1.0 and is default bound to `cmd+shift+enter` on macOS which is the same binding as iTerm. It's also visible in the menu and command palette.

      We recently added a kind of split title bar, making it double click to zoom is a good idea. I'll add an issue for that to the roadmap.

      • dwedge 59 minutes ago
        I could have sworn I checked every menu option but it is there, thank you
      • znpy 46 minutes ago
        Can I take advantage of you being here and express some desiderata?

        1. The quick terminal feature is ghostty's killer feature for me, I switched to ghostty because of it. Could we make it first-class feature? Like, i'd love to have tabs over there too (like in guake/yakuake).

        2. I have a white on black theme (white text on black background) but when i split vertically/horizontally, the borders between one shell and the next are not really visible and I have an hard time resizing them... Can you do something about it? Setting the colors of borders would be an okay fix for me.

    • 1f60c 1 hour ago
      Using its own TERM is a deliberate design decision. I don't remember how to fix the terminal database, but it's pretty easy (your favorite search engine or LLM should be able to help you there).
      • ubercow13 1 hour ago
        Or the manual, which describes the features for automatically handling it.
        • dwedge 57 minutes ago
          If I install a terminal and SSH doesn't work from it out of the box, I would describe that as a bug and wonder if I need to read the full manual to not fall foul of other gotchas
          • Daviey 45 minutes ago
            It is a bug.. But not with Ghostty...
        • frereubu 54 minutes ago
      • hijinks 1 hour ago
        i had to do this for ssh

        host * SetEnv TERM=xterm-256color

    • NoboruWataya 48 minutes ago
      I don't know enough about these things to know why, but I have pretty much always had to hack $TERM to get things working smoothly with any remotely featureful terminal emulator. I have occasionally needed similar hacks for Kitty and urxvt, for example (though top and ncdu seem to work fine).

      The way terminal applications handle different terminal emulators on Linux just seems to be a bit broken. I don't think it's a particular indictment of Ghostty or any one emulator.

    • heftig 1 hour ago
      I wish TERM would contain a list of terminal types in decreasing order of specificity, like 'ghostty:xterm-256color', so a system that doesn't know what ghostty is would fall back to xterm-256color, but that ship has sailed long ago.
    • paxys 1 hour ago
      I have tried every possible setting but SSH ends up breaking more often than not. As opposed to iTerm which just works.
    • DiabloD3 38 minutes ago
      It sounds like you simply forgot to update your terminfo on your remote system.

      You must do this if your chosen terminal requires settings that are not compatible with "xterm-256color".

      Alacritty, kitty, and wezterm also require this, as they implement features that xterm doesn't (and most likely never will), if your terminfo DB is too old to already include them.

      Using Alacritty as an example, you'd take a file that looks like this, https://github.com/alacritty/alacritty/blob/master/extra/ala... , and run `tic -x -o "~/.terminfo" "that.info"` on it.

      Its been this way for like 30 years, and it'll never change.

      • dwedge 5 minutes ago
        It might be a bug in remote handling and I might have unfairly called out GhostTTY for this, but "forgetting to update terminfo on my remote system" just doesn't hold with the way I work.

        I work managing different systems for different clients and often login to systems for the first time. The servers aren't mine, and configuring something like Ansible to configure my home just seems like a waste of time for little benefit. It means that generally I end up using systems that are likely to be already instead - Bash not zsh, Perl, basic vim without any bindings. It might sound special but I'm sure I'm far from the only person working this way.

        So given this, I'd always prefer a terminal that doesn't require me to change remote servers. In this particular case I can modify $TERM in my local .zshrc and it works fine so it's a moot point, but if I had to modify the remote system it would be a no go.

  • bilinguliar 16 minutes ago
    I like how snappy Ghostty is. I do not like how it starts lagging after a few alt-tabs to Chrome and back on Linux.
  • kombine 53 minutes ago
    If there wasn't kitty I'd definitely be using Ghostty, but I have no reason to switch.
  • dbgrman 1 hour ago
    i hope they implement something that can be used with tmux -CC mode.
  • onionisafruit 56 minutes ago
    I expected this to point to the 1.3.0 release since it’s expected in March. Hopefully we get that soon.
  • lomlobon 1 hour ago
    How's the latency? I've had to keep using xterm even though it kind of sucks just because it's got the lowest latency by quite a bit.
  • selfawareMammal 1 hour ago
    Why is it in the main page? It's a super well-known project no?
    • dewey 1 hour ago
      Because someone thought it was interesting, and enough other people upvoted it.
    • loloquwowndueo 1 hour ago
      Just because you know about it doesn’t mean others can’t benefit from the mention.

      https://xkcd.com/1053/

    • baby 1 hour ago
      Looking at the comments it seems like there are still people not using it
    • mberning 1 hour ago
      It’s been posted many times, I think mostly due to it’s association to Mitchell Hashimoto. It’s left as an exercise the reader to determine why this is important.
  • pants2 1 hour ago
    Ghostty calls itself "feature rich" but only added cmd+F / find functionality a few months ago. Makes me wonder what other basic functions it's missing.
  • baby 1 hour ago
    I use it but have people trier cmux?
  • michaelsbradley 2 hours ago
    I enjoy it, and it’s great to have another modern high performance terminal as an option for macOS and Linux.

    For me, Kitty still has the edge:

    https://sw.kovidgoyal.net/kitty/

    WezTerm is also a strong contender:

    https://wezterm.org/

    • hn92726819 47 minutes ago
      When I tried Wezterm last year, you couldn't select more than 3-5 lines of text. I went to fix the 'bug', I found that it was intentional because it allocates a string and copies multiple times every time you click and drag.

      Even if that's fixed, that design put me off the terminal forever.

    • anta40 1 hour ago
      Wezterms is certainly nice. I guess they haven't release another update? Currently stick to iTerm2.
      • pkage 1 hour ago
        I switched from iTerm2 because at the time (possibly still), iTerm2 had a performance bug where large amounts of underlined text would cause the terminal to slow down noticeably. Wezterm works perfectly, and I appreciate the .lua configuration over iTerm2's mess of menus.
  • saberience 1 hour ago
    It's a nice terminal but it cannot be configured to the same level as iTerm, e.g. in terms of colors, look and feel, how the menus work, how the tabs work, etc.

    Also, in practice, I find it hard to detect any performance difference between iTerm and Ghostty even though I know in theory that Ghostty is more performant...

    So for now I go with iTerm because I prefer the UI.