identify terminfo when using emacsclient in ghostty
problem
environment: Ghostty
how to fix
using Emacs.app as server by (server-start)
run
1
2
mkdir ~/.terminfo
( TERMINFO=/Applications/Ghostty.app/Contents/Resources/terminfo infocmp -x xterm-ghostty ) | ( TERMINFO=~/.terminfo tic -x - )
when using brew service
modify .plist
see solution
This post is licensed under CC BY 4.0 by the author.
