Live data from Hacker News

Ghostty 1.0

ghostty.org

651–660 of 719 posts

Re: Ghostty 1.0

#651
post #611

- xterm still feel faster to me. - some visual artifacts with the gtk menu - sometimes prompt got clear when openning 2nd / 3rd windows - cant get keybinding quick toggle to work

> - some visual artifacts with the gtk menu You need a compositor. picom works. For a proper "native i3 experience" I recommend setting gtk-titlebar=false and unbinding tab/pane management keybinds. I already have a window manager, I don't need a second one. I also had to disable adwaita because when it's enabled closing a shell with ^D closes all open windows, sometimes it leaves an empty window instead. > - xterm s…

there's a black box after i click the burger menu button.

Re: Ghostty 1.0

#652
post #29

This feels like the Vagrant moment [1] again. Cant believe 15 years have passed already. Together with Bun I believe that is two high profile open source software made with Zig. [1] https://news.ycombinator.com/item?id=1175901

and it’s the same guy

Re: Ghostty 1.0

#654

Earlier quoted context omitted.

- Ghostty does vsync by default and supports variable refresh rates (DisplayLink). If you're on battery and macOS wants to slow Ghostty down, it can and we respect it. - Ghostty picks your integrated GPU over dedicated/external - Ghostty sets non-focused rendering threads as QoS background to go onto E-cores - Ghostty slows down rendering significantly if the window is obscured completely (not visible) No idea if Ala…

can i configure it to run on dedicated? im on desktop, power consumption is not an issue.

I struggle to understand why any of the above approaches would cause any impact worth maintaining a configuration flag over.

Re: Ghostty 1.0

#655
post #517
post #502

I tried to install and play around with it, it's really nice. Took a bit of tinkering to set a theme and my favourite Pragmata Pro, but what ultimately annoys me is the lack of 'turnkey' selecting for text. When I run `Cmd + A`, I want my terminal to make a full text selection of an entered command, not of the screen content. Or when I run `Option + Shift + Arrow left/right`, I want to select words from an entered co…

Cmd+A to select the entered command isn't standard. You could try: - Ctrl+A: Move to the beginning of the line. - Ctrl+E: Move to the end of the line. - Ctrl+K: Cut the command from the cursor position to the end. - Ctrl+U: Cut the command from the cursor to the beginning of the line. - Ctrl+Y: Paste the text back. This should work in all terminals.

Ctrl+W: delete last word

Re: Ghostty 1.0

#657
Love this in theory but the first time user experience could be improved:

$ brew install ghostty

Launch it, don't configure anything, in the new terminal window then enter:

$ lazydocker

Response: 2024/12/28 09:04:42 An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues

*exec.ExitError exit status 1 /home/runner/work/lazydocker/lazydocker/main.go:96 (0x9397d7) /opt/hostedtoolcache/go/1.21.13/x64/src/runtime/internal/atomic/types.go:194 (0x43bc1b) /opt/hostedtoolcache/go/1.21.13/x64/src/runtime/asm_amd64.s:1650 (0x46b9e1)

Which does not happen with fresh out of the box Mac Terminals, iTerm.

Probably it would be good to have less specific default options for people who just want to try it out before starting to configure it.

Re: Ghostty 1.0

#658

Am I the only person wondering why we need 100 terminal emulators when there are only 2 or 3 solutions to using command line tools more like a REPL? (to some degree warp, some bash support in hydrogen, advanced edit mode of powershell) I don't care for using "fancy" TUIs all i want is better tooling to interact with these that does not feel like 1970 and more like the chrome console.

> I saw tradeoffs that I didn't like. I saw features that I wanted. I saw performance that I could improve. I saw stagnation. There are many fantastic terminals out there and you should use them if they work for you. But I wanted something different and thought maybe others did too. This motivation is pretty clearly stated in the article. Some people use "fancy TUIs" (the famous editors vim and emacs surely count) an…

Unfortunately, launching a fancy TUI like lazydocker inside a fresh install of Ghostty will make the TUI exit with an error, when the same TUI runs just fine on iTerm, alacritty, etc.

Re: Ghostty 1.0

#659

Earlier quoted context omitted.

> a terminal available at a short-cut/button-press that will always show it but not fully hide the rest, no matter what other context you're in I cant be the only person who uses Quake-style terminals at fullscreen. The second part of your sentence is the crucial bit: the ability to instantly conjure a persistent terminal regardless of whatever else I have on screen.

Can you then detach it to make it "non-quick", if you want to keep working on that separate context thing? What I find annoying with my workflow (linux) is that starting a terminal and shell takes a lot of time. I wonder if it's possible to have a terminal always loaded so that my keybinding for creating a terminal would actually: move terminal in current workspace, focus it, then spawn another invisible terminal in…

> I wonder if it's possible to have a terminal always loaded so that my keybinding for creating a terminal would actually: move terminal in current workspace, focus it, then spawn another invisible terminal in the background.

Use rxvt-unicode or another terminal that has a client/server mode. Start up a server in the background on boot or login (e.g. as a systemd user service), and make your keybind launch a new client process. Should be pretty much instant.

Re: Ghostty 1.0

#660
post #455

Earlier quoted context omitted.

Will these work on MacOS or does it use metal for the mac version?

I'm using them on a new mac mini. Haven't tried on my older intel mac mini yet though.

Thanks, I managed to enable the shader, I think the glsl path needs to be absolute, it doesn't work starting with ~ (tilde).
Post reply on HN