Live data from Hacker News

Libghostty is coming

mitchellh.com

151–160 of 275 posts

Re: Libghostty is coming

#151
post #85

Earlier quoted context omitted.

> No ⌘. sending CTRL-C This comment sounded familiar[0]. :) For what it's worth, still possible with: keybind = "cmd+.=text:\x03" [0]: https://news.ycombinator.com/item?id=42889411

Haha, thanks again :) I've been delaying a major migration to NeoVim on [modern-terminal-I-can-never-decide-which] for years. Wezterm, Ghostty, iTerm2. None is exactly perfect, so I just keep watching them develop.

I recently migrated from vim to neovim and you can just migrate everything. I forgot where I found this but put this in ~/.config/nvim/init.vim

  " Load vim configs
set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc

Then in my zshrc (well... I organize differently) I have the function

  function _exists() {
    command -v "$1" &> /dev/null
  }

  alias_vim() {
    if (_exists nvim)
    then
        alias vi='nvim'
        alias vim='nvim'
    elif (_exists vim)
    then
        alias vi='vim'
    fi
  }

Re: Libghostty is coming

#152
post #136

I love how this guy founds + takes public + sells a multibillion company and then just goes right back to hacking. Legend.

You made me look into HashiCorp again. It's a great company from a developers perspective, in terms of the many useful tools created: Vagrant, Packer, Nomad, Consul, etc However their financials are... LOL Revenue US$583 million (2024) Operating income US$−254 million (2024) 50% loss margin :-)))

This can't be right. How are they still afloat?

Actually, that's the question (or rather the feeling) I had even before seeing these numbers. Just by reading the docs and looking at everything they built (and how they built it) made me wonder if they spend more than they make. That's a really funny feeling I never had before. Like, surely economies can't be that forgiving when it comes to polishing things. Is that what's happening to the company? Mere overspending?

Re: Libghostty is coming

#153
post #101

Earlier quoted context omitted.

Does nobody use grep?

How can you use grep to search the scrollback/screen buffer?

Try a pager instead. Batcat is more feature rich but there's always the good old less (and more) command. Both work great with grep. I do things like the following multiple times a day

  $ cat foo.log | less
  $ cat foo.log | $PAGER
  $ cat foo.log | grep 09-23-2025 | less
Side note / pro tip: on a new line in the terminal press control-x control-e. If you're in zsh you need to edit your config but this will work out of the box for bash.

Re: Libghostty is coming

#154
post #55

Earlier quoted context omitted.

Don't you ever need to search through a program's output; e.g., to find what failed? Otherwise you'll have to remember to tee everything to a file every time you run a command.

|grep or |less

Not after it's run you don't.

Re: Libghostty is coming

#155

I really want to like Ghostty but: - Still no ⌘F for find. - No way (that I know of) to select previous output or specific string and copy with only keyboard shortcuts. - No ⌘. sending CTRL-C (muscle memory and being advertised as native to the Mac is what one would expect). - Fonts still don't render as nicely as in Terminal.app. I've fiddled with `font-thicken-strength` and it's close, but not quite. Probably impos…

> No ⌘. sending CTRL-C Wait wait wait, this is a shortcut in Mac??

Seriously. I've been using Macs since... ahem... 1985... and did not know this.

Re: Libghostty is coming

#156
post #128

Earlier quoted context omitted.

I'd be curious to hear more about how tmux helps you — I tried it and besides keeping a permanent session open on a remote server to me I didn't find much use for it compared to regular terminal tabs

I use it daily locally, and find it amusing how many only think of it as being useful on remote servers (not to invalidate your use-case -- I'm just contrasting my own use). As a precursor, I view UNIX as my IDE, of which tmux is a part: this IDE runs on Windows (WSL2), macOS, Linux, and Android (Termux). That aside, here are a few reasons I find tmux to be useful in this concoction of tools: - Session management. I'…

For the curious (like me), here’s more info on bullet 1 (session management):

https://www.reddit.com/r/tmux/comments/1ch9tqp/primeagen_tmu...

Re: Libghostty is coming

#157
post #30
post #18

On the very day ghostty refuses to load my theme because themes now start with an uppercase letter; the same day I'm no longer able to enter `^` (a caret) for some reason. Not to mention the multiple times where the clipboard suddenly and completely stopped functioning, in the last few weeks. I love ghostty, but if it keeps suddenly failing for no apparent reason I might have to go back to wezterm.

damn, you should ask for a refund.

Sorry, I hadn't realized only positive feedback was allowed here.

Re: Libghostty is coming

#158

Earlier quoted context omitted.

By the rollercoaster of points this post is experiencing, I may have expressed myself poorly. To be clear, the concept of a modern, cross-platform Terminal core with native GUI implementations for each major vendor is amazing and I'm very glad it exists. It's just not quite there yet for me and I don't know if it ever will be. But I'm very excited by it and hopeful.

I was also downvoted for mentioning a few other minor things it is missing as well. While I'm holding out, it's getting there however.

Same here. Mentioned 3 different bugs that happened to me recently, but it looks like it's deemed uncalled for or something.

Re: Libghostty is coming

#160
post #99
post #55

Earlier quoted context omitted.

Don't you ever need to search through a program's output; e.g., to find what failed? Otherwise you'll have to remember to tee everything to a file every time you run a command.

You know, I can't remember ever doing this in a terminal. Not because it doesn't sound useful (it sounds VERY useful), it just sort-of never occurred to me as a thing you could do. It's just muscle memory at this point to rerun the command with a pipe to a pager and search there.

I get ya, but this would be more of my case if my terminal didn't have scrollback search available (or if I really wanted to scrutinize the output carefully).

In foot I just ctrl+shift+r and search back the references one-by-one in a mode, which I guess is 90% of my use case for scrollback.

Post reply on HN