codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open stryio opened this issue 1 year ago • 36 comments

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

stryio avatar Aug 10 '25 16:08 stryio

Please prioritise this issue if you can, it keeps being a major problem for me.

evgenyop avatar Aug 15 '25 02:08 evgenyop

Would be a big QOL.

pavledujkic avatar Aug 15 '25 17:08 pavledujkic

This is the most pressing usabiltiy quirk I'm finding after the 0.22.0 update

Zamaroht avatar Aug 16 '25 05:08 Zamaroht

+1, major issue.

daniellovell avatar Aug 17 '25 00:08 daniellovell

This is the most pressing usabiltiy quirk I'm finding after the 0.22.0 update @Zamaroht

Would scaling back to a previous version resolve this?

rohitsathish avatar Aug 19 '25 06:08 rohitsathish

This is the most pressing usabiltiy quirk I'm finding after the 0.22.0 update @Zamaroht

Would scaling back to a previous version resolve this?

There is no previous version - this issue exists since the first official Windows build.

evgenyop avatar Aug 19 '25 07:08 evgenyop

I figure out a temporry fix for this - paste into chatgpt.com or desktop app but not the cli- "keep all context & condense it into a dense LLM readable ( does not have to be human readable form) in 1 line without line break" followed by the text - doesn't matter how long it is, the output might ben 100s of words, but without the line break, it still gets pasted on codex cli. Hopethis helps until they bring us an update soon.

ssampathinfraredx avatar Aug 20 '25 02:08 ssampathinfraredx

PUMP!

att3 avatar Aug 20 '25 20:08 att3

Please prioritize this as I have stopped using codex because of this annoying issue. Its more than QoL issue, codex is a no go till this is fixed.

vettukal avatar Aug 26 '25 15:08 vettukal

codex is miles behind claude!

craigvc avatar Sep 01 '25 22:09 craigvc

codex is miles behind claude!

I disagree. I compare them from time to time - Codex's model response quality is by far better, so I prefer it for the type of large codebases that I work with. And patiently waiting for the UI shortcomings to be all eventually resolved one by one. Now, the Windows build is very solid, I stopped running it in WSL.

evgenyop avatar Sep 02 '25 00:09 evgenyop

Should be fixed on the latest version

aibrahim-oai avatar Sep 09 '25 00:09 aibrahim-oai

Should be fixed on the latest version应该在最新版本上修复

not at all. same problem in version 0.34

Elite-zx avatar Sep 12 '25 13:09 Elite-zx

OpenAI is truly run by a bunch of idiots; they never fix such important issues.

AyinMostima avatar Sep 14 '25 07:09 AyinMostima

Using zsh bracketed-paste as a solution

Elite-zx avatar Sep 14 '25 09:09 Elite-zx

Any news?

talifan avatar Sep 15 '25 19:09 talifan

Any news?

The latest version doesn't have this issue anymore and is working perfectly for me on Windows Terminal.

evgenyop avatar Sep 15 '25 22:09 evgenyop

Should be fixed on the latest version

not at all. same problem in version 0.39.0

i use Windows Terminal with Powershell 7

luodaoyi avatar Sep 20 '25 06:09 luodaoyi

has been two months and no fix at all. this is such a simple feature not sure what their developer is doing

OstiumAxioma avatar Oct 24 '25 07:10 OstiumAxioma

非常简单的问题,为何难以修复

luodaoyi avatar Oct 24 '25 09:10 luodaoyi