Ghostty – Terminal Emulator

(ghostty.org)

112 points | by oli5679 3 hours ago

14 comments

  • mitchellh 27 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 22 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 21 minutes ago
      can you make cmd+f work please
      • sethammons 6 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 18 minutes ago
        FYI: It is working in nightly!
  • s_ting765 3 minutes ago
    [delayed]
  • pdimitar 33 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.

    • jcgl 18 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

    • Crisco 18 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.

    • CoderJoshDK 25 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 25 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 24 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 27 minutes ago
      Scroll back search is coming. You can try it in the nightly.
      • pdimitar 25 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.
  • bArray 28 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 23 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.
  • dwedge 52 minutes 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 40 minutes 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 38 minutes ago
        I could have sworn I checked every menu option but it is there, thank you
      • znpy 25 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.

    • NoboruWataya 27 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.

    • 1f60c 46 minutes 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 44 minutes ago
        Or the manual, which describes the features for automatically handling it.
        • frereubu 33 minutes ago
        • dwedge 36 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 24 minutes ago
            It is a bug.. But not with Ghostty...
      • hijinks 39 minutes ago
        i had to do this for ssh

        host * SetEnv TERM=xterm-256color

    • heftig 41 minutes 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.
    • DiabloD3 17 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.

    • paxys 40 minutes ago
      I have tried every possible setting but SSH ends up breaking more often than not. As opposed to iTerm which just works.
  • kombine 31 minutes ago
    If there wasn't kitty I'd definitely be using Ghostty, but I have no reason to switch.
  • onionisafruit 35 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 57 minutes 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.
  • dbgrman 1 hour ago
    i hope they implement something that can be used with tmux -CC mode.
  • 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 53 minutes 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.
  • baby 53 minutes ago
    I use it but have people trier cmux?
  • michaelsbradley 1 hour 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 25 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 38 minutes 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.

  • pants2 42 minutes 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.