Skip to content

Pasting multi-line text in Codex CIL only keeps first line and auto-submits on Windows #2137

@stryio

Description

@stryio

What version of Codex is running?

v0.20.0

Which model were you using?

No response

What platform is your computer?

Windows

What steps can reproduce the bug?

When pasting multi-line text into the Codex CIL chat input box, the input field does not handle line breaks properly.

Steps to Reproduce

Open the Codex CIL chat input box.

Copy a multi-line snippet (e.g., three lines of text).

Paste it into the input box.

Observed Behavior

Only the first line is shown in the input box.

The presence of a line break in the pasted content immediately triggers a “submit” action, sending the conversation automatically.

Impact
This prevents users from pasting multi-line commands, code blocks, or structured text,.

What is the expected behavior?

All pasted lines should remain in the input box.

The user should be able to edit and review before sending.

What do you see instead?

No response

Additional information

No response

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