[UI Bug] 'Warning: not a Git repository' message cut off on small terminals; y/n prompt not visible

Resolved 💬 1 comment Opened Jul 14, 2025 by vhgnb Closed Oct 21, 2025

What version of Codex is running?

codex-cli 0.5.0

Which model were you using?

_No response_

What platform is your computer?

Darwin 22.5.0 arm64 arm

What steps can reproduce the bug?

  1. Open a terminal window with small dimensions (e.g. 12 lines of code).
  2. Run a Codex command in a directory that is not a Git repository.
  3. Observe the displayed warning and any prompt.

What is the expected behavior?

The warning message should wrap or resize properly.
The y/n prompt should always be visible, regardless of terminal width.

What do you see instead?

'Warning: not a Git repository' message cut off on small terminals; y/n prompt not visible

https://github.com/user-attachments/assets/ee86e458-aef6-427b-b920-4ddf1ea92f68

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗