Skip to content

Backspace with Japanese IME hides the character to the left in Codex CLI input #5439

@nou-git

Description

@nou-git

What version of Codex is running?

0.47.0

What subscription do you have?

Plus

Which model were you using?

gpt-5-high

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When using the Codex CLI with a Japanese IME, deleting characters with Backspace causes the character immediately to the left of the deletion point to become invisible in the terminal. The character is not removed—just not rendered—making the input line appear corrupted or out of sync.

What steps can reproduce the bug?

This is an interactive CLI rendering issue, so there’s no code snippet per se. Typing any Japanese text and using Backspace in the Codex CLI will trigger it as described.

What is the expected behavior?

When pressing Backspace:

  • Exactly one character to the left of the cursor should be deleted.
  • All remaining characters should remain visible and correctly aligned.
  • The input line should re-render accurately, regardless of IME or character width.

Additional information

VS Code Integrated Terminal on WSL (Ubuntu) and Windows PowerShell
IME: Japanese (Microsoft IME)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions