When working with fancy terminal emulators (foot, kitty, Ghostty, etc.) over SSH, you may encounter glitches because of missing terminfo on the remote machine.
To fix it, you need to transfer your terminfo.
You can use the infocmp command to do that: https://spiffyk.cz/notes/#general-ssh-terminfo

