Use host-spawn
This implementation of flatpak host spawning works a lot better for terminals, by passing through $TERM and allocating a pty.
This implementation of flatpak host spawning works a lot better for terminals, by passing through $TERM and allocating a pty.