mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## 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