In the Git Bash environment on Windows, the command line interface fails to accept input properly.

Resolved 💬 3 comments Opened Sep 3, 2025 by H-Sofie Closed Oct 13, 2025

What version of Codex is running?

codex-cli 0.29.0

Which model were you using?

gpt-5

What platform is your computer?

Windows 11 Pro 22H2: Microsoft Windows NT 10.0.22621.0 x64

What steps can reproduce the bug?

When using Git Bash on a Windows computer to run Codex, only character input functions normally. However, when attempting to delete characters using the backspace key, an issue arises: the cursor moves backward, but the characters remain unaffected—behaving identically to pressing the space key. When continuing to input characters, new characters are appended directly after the previous ones, leaving a large blank area between the new text and the cursor position.

Simultaneously, the Enter key ceases to function, preventing messages from being sent. Various keyboard shortcuts also become unavailable, such as Ctrl+J or Ctrl+C.

<img width="456" height="191" alt="Image" src="https://github.com/user-attachments/assets/8b5fb325-d645-4e9d-8845-23d9c185d40c" />

What is the expected behavior?

_No response_

What do you see instead?

Referring to the description above.

Additional information

Git version: git version 2.48.1.windows.1, Node version: v22.14.0.

This issue first appeared after a certain update in codex cli v0.23 or v0.24. No problems occurred prior to v0.22.

Additionally, all other consoles (such as cmd or PowerShell) function normally except for Git Bash. I am currently using PowerShell as a temporary substitute for Git Bash, but due to the excessively high error rate when Codex executes PowerShell commands, I wish to switch back to Bash for better compatibility with Codex.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗