The issue the OP mentions was likely a known memory-leak in Ghostty that has since been fixed. Claude was triggering the bug in Ghostty but the bug was in Ghostty. Ghostty's author blogged about it

https://mitchellh.com/writing/ghostty-memory-leak-fix

The said MacOS terminal was slow, not Ghostty.