For me, a terminal program that requires me to muck with every machine I log into to get it to work is pretty horrible. I connect to a lot of different machines every work dat. Often they’re not machines I maintain. Making that harder is exactly the opposite of what I want from a key tool like a terminal program.
Kitty needed to do it too back in 2018.
https://lists.gnu.org/archive/html/bug-ncurses/2018-09/msg00...
Note: Ghostty follows the same pattern as Kitty where they a) use their own terminfo, b) distribute it when ssh'ing (it gets pushed to the remote server) and c) added it to ncurses so that it will eventually go away.
I looked into infocmp and other tricks to try and and figure out why the backspace key was throwing gibberish around, but I had no interest in debugging such an inscrutable thing through so many layers.
I don't fault ghostty for things like this, but at the same time it's hard not to scorn the tools you want to be invisible, even if making unreasonable demands of them on accident.