codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open jdemeulenaere opened this issue 1 year ago • 12 comments

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.

jdemeulenaere avatar Apr 18 '25 17:04 jdemeulenaere

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

tibo-openai avatar Apr 19 '25 00:04 tibo-openai

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

Suyash-K avatar Apr 20 '25 14:04 Suyash-K

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.

scottleibrand avatar Apr 21 '25 01:04 scottleibrand

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

zuuxuux avatar Oct 13 '25 13:10 zuuxuux

What is status of shift+enter for new line?

wojtess avatar Oct 21 '25 20:10 wojtess

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

Cicaeda avatar Oct 23 '25 22:10 Cicaeda

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

reminia avatar Oct 26 '25 14:10 reminia

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

edswangren avatar Nov 19 '25 07:11 edswangren

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

Cthululz avatar Nov 24 '25 01:11 Cthululz

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

liry avatar Dec 05 '25 15:12 liry

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

not for terminals

IsaacMarsh avatar May 29 '26 17:05 IsaacMarsh

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

At this rate, the AI singularity will never happen.

dejayc avatar Oct 09 '26 15:10 dejayc