What version of Codex CLI is running?
codex-cli 0.130.0
What subscription do you have?
plus
Which model were you using?
gpt-5.5
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What terminal emulator and version are you using (if applicable)?
PHPStorm integrated terminal / JetBrains JediTerm
What issue are you seeing?
When using Codex CLI inside PHPStorm's integrated terminal on Windows, prompt text visually disappears while editing with left/right arrow keys.
If I type a sentence in the Codex prompt and move the cursor backward with the left arrow, characters passed by the cursor become hidden/disappear visually. Moving forward with the right arrow has the
same issue.
The input buffer is not lost. When I press Enter, the full prompt is submitted correctly. The bug appears to be only with live prompt redraw/rendering in the Codex TUI.
Normal shell input in the same PHPStorm terminal does not reproduce the issue. It only happens inside a Codex session.
What steps can reproduce the bug?
What steps can reproduce the bug?
- Open PHPStorm integrated terminal on Windows.
- Start Codex CLI with
codex.
- At the Codex prompt, type a sentence, for example:
This is a test sentence for cursor movement
- Press the left arrow key several times to move backward through the sentence.
- Observe that characters passed by the cursor become hidden/disappear visually.
- Press the right arrow key several times.
- Observe similar visual hiding/redraw behavior.
- Press Enter.
Result: the complete prompt is submitted, including the text that was visually hidden.
What is the expected behavior?
The Codex prompt should keep the full input text visible while moving the cursor left or right through the line.
Additional information
No response
What version of Codex CLI is running?
codex-cli 0.130.0
What subscription do you have?
plus
Which model were you using?
gpt-5.5
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What terminal emulator and version are you using (if applicable)?
PHPStorm integrated terminal / JetBrains JediTerm
What issue are you seeing?
When using Codex CLI inside PHPStorm's integrated terminal on Windows, prompt text visually disappears while editing with left/right arrow keys.
If I type a sentence in the Codex prompt and move the cursor backward with the left arrow, characters passed by the cursor become hidden/disappear visually. Moving forward with the right arrow has the
same issue.
The input buffer is not lost. When I press Enter, the full prompt is submitted correctly. The bug appears to be only with live prompt redraw/rendering in the Codex TUI.
Normal shell input in the same PHPStorm terminal does not reproduce the issue. It only happens inside a Codex session.
What steps can reproduce the bug?
What steps can reproduce the bug?
codex.This is a test sentence for cursor movementResult: the complete prompt is submitted, including the text that was visually hidden.
What is the expected behavior?
The Codex prompt should keep the full input text visible while moving the cursor left or right through the line.
Additional information
No response