Skip to content

Windows Terminal Input And Render Bug #5194

Closed

Description

@ptlzc

What version of Codex is running?

codex-cli 0.46.0

Which model were you using?

No response

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

When I paste multi-line text into the Codex terminal on Windows Terminal, the first newline is interpreted as a submit action instead of inserting a line break. As a result, only the first line is sent and the rest is not entered as intended.
When using a Chinese IME, after committing a character, pressing Space causes the previously entered character to render as a blank (disappear visually) in the input field. This looks like a preview/rendering glitch.

Image

What is the expected behavior?

copy multiple text line then paste to codex terminal

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 15, 2025
  2. added
    windows-os
    on Oct 15, 2025
  3. joshka-oai commented on Oct 18, 2025

    @joshka-oai
    Contributor

    Hey, the Chinese IME problem will be fixed by #4921. I haven't checked the other issue yet.

  4. colining commented on Oct 18, 2025

    @colining

    Hey, the Chinese IME problem will be fixed by #4921. I haven't checked the other issue yet.

    @joshka-oai

    Still bug on v0.47.0

    win11

    bug in cmd and PowerShell

    Git Bash is good for input, but has a bug when deleting[it can only delete the current line]

    Git Bash doesn't give any character in the terminal until the word is complete.

    Maybe bug cause like this, it's like pre-render, but not necessary for Chinese ime
    Image

    Sometimes, like this, in CMD when you click space, it will make the last character disappear half.

    Image
  5. joshka-oai commented on Oct 20, 2025

    @joshka-oai
    Contributor

    Still bug on v0.47.0

    The fix is applied to our main branch and will be in the next release (0.48)

  6. added
    TUI
    on Nov 15, 2025
  7. etraut-openai commented on Jan 10, 2026

    @etraut-openai
    Contributor

    Closing old issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions