Live data from Hacker News

Libghostty is coming

mitchellh.com

131–140 of 275 posts

Re: Libghostty is coming

#131
post #101

Earlier quoted context omitted.

Does nobody use grep?

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

Ghostty has a write_scrollback_file action you can use to write the scrollback to a temporary file. I have this set to cmd+shift+f, so I simply

less [cmd+shift+f] [enter]

You can use grep similarly.

Re: Libghostty is coming

#132
post #101

Earlier quoted context omitted.

Does nobody use grep?

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

I don't want to presume your use case, but Ghostty has a command for dumping the buffer to a file, which I use for processing output "too late" to use grep.

keybind = ctrl+alt+shift+o=write_scrollback_file:open

Re: Libghostty is coming

#133

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…

the second bullet single-handedly keeps me in WezTerm (copy/select mode)

Re: Libghostty is coming

#135
post #55

Earlier quoted context omitted.

I have heard this from a lot of people, yet here I am, using a terminal that supports this, and have yet to ever do it. Can you help me understand what workflows you depend on Ctrl+f for? I wonder if I am missing something big.

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

Re: Libghostty is coming

#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 :-)))

Re: Libghostty is coming

#137

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…

Should be soon: https://ghostty.org/docs/install/release-notes/1-2-0#roadmap

Re: Libghostty is coming

#138
post #45

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

Hashimoto is an absolute wizard, but what I find most compelling about him is his absolutely uncanny ability to segment and abstract systems and interfaces in a way for maximum composability and minimal entanglement. He's like the walking embodiment of Rich Hickey's Simple Made Easy philosophy. It's like he designs software systems in such a way that they have no choice but to operate correctly and predictably. Also…

I only wish after 1.3 he could hand over Ghostty to others for maintenance and move to improve other things.

The software world really needs people like him to drive things forward.

Re: Libghostty is coming

#139
I can’t figure out how to get the visidata frequency analysis histograms to render properly. Some render as blocks as expected but others are those diamond-question marks. I know it’s a silly hang up but it’s what’s keeping me on iterm. It’s seemingly impossible to search for (or at least I haven’t figured out the right keywords) to troubleshoot too.

Re: Libghostty is coming

#140

Earlier quoted context omitted.

Search in scroll back is coming in 1.3, unfortunately that's going to be 6 months away. There's a lot happening in the Ghostty app though, check out the 1.2 release notes

Is there a blog post anywhere that explains why it has taken so long to get search working? Ghostty is such a nice app but that's such a fundamental feature that there has to be a good reason... It's the only thing keeping me on iTerm2.

Try Cmd-Shift-J. It dumps your buffer to a temp file, with the file path made ready for you. I do that and then open the temp file with vi.
Post reply on HN