feat: allow multi-line input when codex is asking for user feedback

Resolved 💬 11 comments Opened Apr 18, 2025 by jdemeulenaere Closed Apr 20, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

There is currently no way to pass structured answer to codex. We should be able to add a new line using shift + enter, or some other mechanism.

View original on GitHub ↗

11 Comments

tibo-openai collaborator · 1 year ago

That would be neat. Would accept a PR for this improvement!

Suyash-K contributor · 1 year ago

@tibo-openai checkout #442 for multi-line input using shift+enter

scottleibrand contributor · 1 year ago

It looks like #438 or #442 eliminated line-wrapping of long single lines of input. IMO the default behavior should be to restore soft line-wrapping of long lines, and allow insertion of hard newlines via shift-enter.

It also looks like one of these (or some other change made today) broke the default emacs key-bindings like ^W and ^U, and modified ^E to launch an editor instead of going to the end of the line.

zuuxuux · 9 months ago

You can add a new line with Alt + Enter (on linux at least)

wojtess · 9 months ago

What is status of shift+enter for new line?

Cicaeda · 9 months ago

Alt + Shift + Enter works for this on Windows terminal, but it really should just be Shift + Enter.

reminia · 8 months ago

Hope it could be shift+enter, which is more common.

edswangren · 8 months ago

Why does Shift+Enter not work? Can't you just, like... codex this feature easily enough?

Cthululz · 7 months ago

you'd think they could just have chatgpt fix it all by itself you know?

liry · 7 months ago

Current help (?) shows the way: ``ctrl + j for newline``

IsaacMarsh · 1 month ago
Current help (?) shows the way: ctrl + j for newline

not for terminals