Live data from Hacker News

Libghostty is coming

mitchellh.com

141–150 of 275 posts

Re: Libghostty is coming

#142

I wish they had used something like this in Shopify, instead they decided it was a good idea to embed VScode in the browser in case users want to make a small modification to theme files, it even has a 5 second boot time.

What’s a user-friendly mouse friendly modeless cli text editor you can compile to wasm?

I don't think its really practical to do so. wasm can't directly access the canvas or webgpu contexts. it has to route date through js anyways so you will always have js code in the loop here.

Re: Libghostty is coming

#143
post #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.

Sounds like perhaps your main and fallback fonts are missing the Code Points in question.

I am not a ghostty user, but I think it has a setting for that, if you can figure out which font iTerm2 is rendering those glyphs with.

Re: Libghostty is coming

#144

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

I just want to say, what a dream. To have wealth and be able to create projects for the sake of going the projects. To not have to make the concessions of quality for profits.

There's an old Knuth quote:

  > In fact what I would like to see is thousands of computer scientists let loose to do whatever they want. That's what really advances the field.
And I think we're seeing more and more that these projects made with love are successful. That without the hyper fixation on money we can build good projects that make big changes in a world.

In some sense I'm a bit envious of Mitchell but truthfully these types of things make me more question how we've constructed our society and economy. It shouldn't require one to start with wealth to be able to build things that have such an impact. What needs to be changed where we can live up to what Knuth proclaimed. I'm sure all of us have had experiences where were we given the time (and usually not much) we could make things so much better. But we make many sacrifices when we rush. Which leads to more good advice by Knuth

  > If you optimize everything, you will always be unhappy.
At what point do we push back? We see that the people we really look up to did things so differently. Knuth himself expressed how detail obsessed he was, and such a claim is common among the grey breads. Of course, things change, but are we creating a world with no wizards? Are we creating a world where we reward people for solving problems and making our lives easier? Or are we just maximizing some score of a pointless game?

I'd love to live in a world with a thousand more Mitchells, following their passions without the burden of needing to justify decisions to a board who has no interest in quality. How do we create that world?

Like you said, what a legend. But, how do we make more legends?

Re: Libghostty is coming

#145
post #124

Offtopic, formatting related, and always a fun discussion: The function signature of [1] ... ghostty_input_mods_e ghostty_surface_key_translation_mods(ghostty_surface_t, ghostty_input_mods_e); (^^^ probably not readable in small screens) ... is the perfect example of why " align continuation lines to the open bracket " is the absolute worse option versus the simpler, consistent and only logical choice of " align cont…

Indeed. Also note this isn't the real public C API. This is, as I noted in the blog post as a disclaimer, an internal-only C API so it is admitedly very ugly. (I assume you know this, just adding context for other readers)

Yep, sorry in my mind I was going to mention it (with "even if it's only me seeing private code like this" or something similar) and later forgot after some edits to fix the formatting...

Anyway, I hope it doesn't get lost that this comment was only meant to be half informative, half public statement, and half a light joke :)

Re: Libghostty is coming

#146
post #45

Earlier quoted context omitted.

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 love ghostty. The only thing that is missing is a find feature which is such an odd omissions for an incredible piece of software.

There's a few things like this but I'll give a pass because how new it is. Were this a mature project I'd be upset at incompetence, but given how young it is I think it's too early to be harsh.

Plus, they're very open about what they're doing and prioritizing. As another commenter said, it's coming soon. For the rest, open feature requests, you might have needs that others didn't think of or even realize they needed

Re: Libghostty is coming

#147

Earlier quoted context omitted.

I love ghostty. The only thing that is missing is a find feature which is such an odd omissions for an incredible piece of software.

To add... The missing scrollbars feel painful to me. I don't even want them for scrolling, really. I want the visual reference for: "How much content is in this window" and "Where am I in that content" I still use it daily but it means I have to switch tools for certain things, and reading log files or log output is one of the more common reasons I switch. I should probably look into trying to get the scrollback info…

Maybe I'm misunderstanding your request but do you not pipe outputs into a pager? (Less, more, batcat, etc) I feel like I'm probably not understanding the context though.

Re: Libghostty is coming

#148
post #50
post #9

i desperately want to use ghostty but cmd+f support is just such a dealbreaker. excited about this development though!

Can someone explain why this was not one of the first features added? Who doesn't want to search their history? There must be some complication. Mitchell raised the issue himself two years ago: https://github.com/ghostty-org/ghostty/issues/189

Guessing its "hard to do it right".
Post reply on HN