Live data from Hacker News

Ghostel.el: Terminal emulator powered by libghostty

dakra.github.io

41–50 of 74 posts

Re: Ghostel.el: Terminal emulator powered by libghostty

#41
post #7

Hi! Maintainer of Ghostel here. baokaola and I actually wanted to do a "Show HN" next week, but looks like someone was faster submitting the link. Have a look at the GitHub repo which is a bit nicer for a quick overview: https://github.com/dakra/ghostel To add some context, Ghostel is a terminal emulator for Emacs powered by libghostty-vt. There's a feature comparison vs vterm and eat: https://dakra.github.io/ghostel…

Howdy, Awesome project. Been using with doom for a while. How do you manage to get scrolling programs to work (eg Lazygit or Reasonix) where other emulators fail? Is it something special in your implentation or library that makes this work?

Are you thinking about using the scroll wheel of the mouse to scroll within the program? If the appropriate terminal modes are enabled by the application running in the terminal, we capture the scroll events in Emacs and forward them to the terminal instead of letting Emacs handle them.

Re: Ghostel.el: Terminal emulator powered by libghostty

#42
post #36

This is working great, it plus the Claude code integration has really adjusted how much I use Emacs. It's become a bit of a hub for me now.

What do you mean by integration. Do you have a model driving emacs via server?

Maybe he's talking about claude-code-ide.el which piggybacks on Claude Code's IDE integration. It recently added support for Ghostel too.

Re: Ghostel.el: Terminal emulator powered by libghostty

#43
post #15
post #14

Question: if I don't use TUIs or millions of lines of scrolling text, what am I missing by not using these newer terminal implementations? I use mintty on Windows and am pretty happy with it.

Honestly not sure. I used ghosty and others for awhile but had continuous issues of it not passing a compatible term variable so a lot of tuis would break.

https://ghostty.org/docs/features/ssh

Re: Ghostel.el: Terminal emulator powered by libghostty

#44
post #20

Been using it for bit over a month now. It's really nice that you can click on code references in Codex summaries and open them right there in Emacs buffers.

And not only mouse click of course, but you can use `ghostel-previous-hyperlink` (or ghostel-next-hyperlink) to quickly jump to the last hyperlink displayed.

It also installs a repeat-mode map, so if you see 3 url or file links as output you can just `C-c C-p p p RET` and it will open the first link.

I use that feature all the time.

Re: Ghostel.el: Terminal emulator powered by libghostty

#45
post #32

Earlier quoted context omitted.

Ah. I tested it before but now I see that I have `(setq eshell-scroll-to-bottom-on-input 'all)` in my config which always snapped point back to the prompt when I tried to edit the scrollback. Anyway, unfortunately that is not possible in a Ghostel buffer and most likely also will never be. I'm open to ideas though how we could improve or replicate your eshell workflow. But also, eshell is awesome and Ghostel is not a…

I think issue #426[0] would be sufficient, since it would allow for editing after the command is finished. I understand that it probably won't happen any time soon, but embedding a full terminal emulator in Eshell is the thing that's got me staying on EAT right now. Ghostel looks really nice though! [0]: https://github.com/dakra/ghostel/issues/426

Noted.

I didn't even think of the use-case that then you can edit output from finished commands in the scrollback. But it makes sense and is another +1 for that feature request.

Re: Ghostel.el: Terminal emulator powered by libghostty

#46
post #7

Hi! Maintainer of Ghostel here. baokaola and I actually wanted to do a "Show HN" next week, but looks like someone was faster submitting the link. Have a look at the GitHub repo which is a bit nicer for a quick overview: https://github.com/dakra/ghostel To add some context, Ghostel is a terminal emulator for Emacs powered by libghostty-vt. There's a feature comparison vs vterm and eat: https://dakra.github.io/ghostel…

Wish it had the pattern based Quick-select mode from WezTerm. Since I discovered that I never want to use another term.

Re: Ghostel.el: Terminal emulator powered by libghostty

#47
post #15

Earlier quoted context omitted.

Honestly not sure. I used ghosty and others for awhile but had continuous issues of it not passing a compatible term variable so a lot of tuis would break.

https://ghostty.org/docs/features/ssh

Just want to add that we have the same feature in Ghostel.

As it copies stuff to a remote host, automatic ssh injection is disabled by default but you can enable it by setting `ghostel-tramp-shell-integration` to true.

For manual setup you can just copy a few lines from the manual in your shell: https://dakra.github.io/ghostel/#orgfea0bed

Re: Ghostel.el: Terminal emulator powered by libghostty

#49

I think the title should mention Emacs somewhere. A terminal emulator is different than a terminal emulator for Emacs.

.el = emacslisp file extension

If you say so. I didn't know that, which supports the suggestion that the title fails to be meaningful.

It's not the same as expecting the reader to know what a terminal is, just in case anyone was thinking of going there next.

Re: Ghostel.el: Terminal emulator powered by libghostty

#50
post #46
post #7

Hi! Maintainer of Ghostel here. baokaola and I actually wanted to do a "Show HN" next week, but looks like someone was faster submitting the link. Have a look at the GitHub repo which is a bit nicer for a quick overview: https://github.com/dakra/ghostel To add some context, Ghostel is a terminal emulator for Emacs powered by libghostty-vt. There's a feature comparison vs vterm and eat: https://dakra.github.io/ghostel…

Wish it had the pattern based Quick-select mode from WezTerm. Since I discovered that I never want to use another term.

You have the full power of Emacs to your disposal.

I have never used WezTerm but from a quick look, it seems you can quickly copy text ace-jump style.

In Emacs you could use e.g. avy to do the same, but there is probably a bunch of other similar packages that do the same.

And additionally you're not restricted to just select/copy a word. You can freely move around and use e.g. expand-region or similar to quickly select more.

It's Emacs after all, the possibilities are endless ;)

Post reply on HN