The commit [87676ab](https://github.com/hpjansson/chafa/commit/8aebfc880915ee7a2cf81a0c553469b6dba48888) leaves echo on, so terminals like st and xterm that echo keystrokes to the screen are unusable after Chafa:  If Ghostty requires special treatment, detect Ghostty and apply the treatment only to that terminal.