But there's a whole thread on other workarounds etc. Apparently it's on the roadmap.
https://github.com/ghostty-org/ghostty/issues/189