Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I want to use this to modernize vterm in Emacs. If I could only synchronize the terminal cursor and the Emacs point, and preserve lines as lines, not split them...


I wasn't aware that vterm need modernizing. Happy user of vterm at work and ghostty at home!


vterm flickers a lot with any busier TUI. Claude Code sucks in vterm. I'd also really look forward to using libghostty to try an alternative to vterm in emacs.


My issues revolve around evil: - motions stop at the terminal "line" (e.g. press "0": it doesn't move to the beginning of the line) - moving from normal to insert mode, or running commands like "r" from normal mode often breaks. Sometimes, a completely different character is replaced elsewhere in the line. - there's often a two-three second lag between entering insert mode from normal mode.


I am not sure i understand your problem 100% but Emacs’ tty package can solve a lot of cursor issues in a terminal emulator.


The packages available through list-packages that contain "tty" in the name or description are: clipetty, crappy-jsp-mode, file-info, glass-tty-theme, hatty, hima-theme, hyperkitty, ipretty, kkp, latex-pretty-symbols, melancholy-theme, mistty, mkdown, nubox, org-pretty-tags, ppp, pretty-hydra, pretty-mode, pretty-sha-path, pretty-speedbar, pretty-symbols, purty-mode and tabbar-ruler. There is no package "tty". Are you talking about emacs' own shell?


Sorry that one’s on me for not being clear. I actually meant the tty module in Doom Emacs. You can find the packages here: https://docs.doomemacs.org/v21.12/modules/os/tty/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: