Files
codex/scripts
Eric Traut 30fdd9bd68 Fix Codex keyboard input when launching from a piped installer (#65093)
## Why

When the installer runs through a pipe, Codex inherits the pipe as
standard input and cannot read keystrokes from the terminal.

## What changed

Keep standard input when it is already a terminal. Otherwise, launch
Codex with input from `/dev/tty`. On macOS, open the controlling
terminal device directly because polling `/dev/tty` for keyboard events
is unsupported.

GitOrigin-RevId: 382436320b801f499dd8ae3de288f42c4cb503f2
2026-12-01 21:55:16 +00:00
..