You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The textbox should be enlarged and new line should be added
What do you see instead?
it send request
Additional information
No response
Reacted by Evan DeLord, Michal Landsman, Geordie J, Federico Casanova, Valentin, Cole Winstanley, jibbers42, Alexander Wörndl, Andrew Bucknall, Ischca(nabe) and 6 more
Is there any chance to make this suggestion customizable? Some terminal emulators don't support meta keys + enter combinations and it may be confusing for some people
It's not standard for terminal. I explored this and the way to do it makes input broken across new lines, and can't hop back to previous line. Though I may have simply not implemented it right. But seems I can see why this is a web thing, and not a terminal thing.
Muscle Memory Mayhem: Accidental Submissions in Codex Terminal (Shift+Enter)
I'm used to ChatGPT (web) and Gemini (AI Studio) where Shift+Enter (and often just Enter) creates a new line in my prompts.
Much like the box I am typing this message into at the moment...
When I switch to the Codex terminal, I instinctively hit Shift+Enter for a new line, but it submits the prompt instead! This means I'm constantly sending half-finished prompts.
Since the latest versions enables using shift + enter, let us close this issue. For other related feedback in this thread, opening a new issue would be appreciated.
On Windows (WSL) inside VSCode terminal Shift+Enter is sending the prompt. CTRL+J also doesn't work, that is the shortcut to hide the Terminal panel. Probably the issue should be ropened.
Reacted by Andrew H, Oliver Atkinson, Nimge, yipu and Ray Jasson
Activity
The-Obstacle-Is-The-Way commentedon Apr 22, 2025
yes this remains a bug
the previous command was [control + J] which still works to give a new line fyi
wshobson commentedon Apr 22, 2025
+1
tomascupr commentedon Apr 23, 2025
Just submitted a PR #568
WASasquatch commentedon Apr 23, 2025
I already made a post about this. Use
Ctrl + J. Should work.#508
tomascupr commentedon Apr 23, 2025
v3ceban commentedon Apr 23, 2025
Is there any chance to make this suggestion customizable? Some terminal emulators don't support meta keys + enter combinations and it may be confusing for some people
WASasquatch commentedon Apr 24, 2025
It's not standard for terminal. I explored this and the way to do it makes input broken across new lines, and can't hop back to previous line. Though I may have simply not implemented it right. But seems I can see why this is a web thing, and not a terminal thing.
vshuraeff commentedon Apr 26, 2025
ALT+Enter is standart to many, but not Shift+Enter. this should be configurable
SamMcCormick61 commentedon May 7, 2025
Muscle Memory Mayhem: Accidental Submissions in Codex Terminal (Shift+Enter)
I'm used to ChatGPT (web) and Gemini (AI Studio) where Shift+Enter (and often just Enter) creates a new line in my prompts.
Much like the box I am typing this message into at the moment...
When I switch to the Codex terminal, I instinctively hit Shift+Enter for a new line, but it submits the prompt instead! This means I'm constantly sending half-finished prompts.
seratch commentedon Aug 12, 2025
Since the latest versions enables using shift + enter, let us close this issue. For other related feedback in this thread, opening a new issue would be appreciated.
wintercounter commentedon Sep 26, 2025
On Windows (WSL) inside VSCode terminal Shift+Enter is sending the prompt. CTRL+J also doesn't work, that is the shortcut to hide the Terminal panel. Probably the issue should be ropened.
zuuxuux commentedon Oct 13, 2025
You can add a new line with Alt + Enter (on linux at least)
dkarelov commentedon Dec 29, 2025
Just rebind this in Windows Terminal itself:
Open WIndows Terminal settings, then settings.json.
Add to "actions": [...]:
Press Save. It works now.
bolzzzz commentedon Mar 6, 2026
it works, thanks!