Don't use PTY in the display-only terminal (#39510)
This only affects `codex-acp` for now.
Not using the PTY in display-only terminals means they don't display the
login prompt (or spurious `%`s) at the end of terminal output
renderings.
Release Notes:
- N/A
978951b79aRichard Feldman committed on 10/4/2025, 4:49:33 AM· committed by GitHubparent6b980ec