Pressing shift enter should create a newline in the prompt, but instead just submits it

Resolved 💬 3 comments Opened Nov 24, 2025 by tomye-oai Closed Nov 24, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.64.0-alpha.5

What subscription do you have?

chatgpt-pro

Which model were you using?

_No response_

What platform is your computer?

_No response_

What issue are you seeing?

I would expect hitting shift enter to create a new line when writing a prompt, but it instead just submits the current prompt.

What steps can reproduce the bug?

Uploaded thread: 019ab6bf-7299-7ce2-b832-41955d5e26d6

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 9 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6453
  • #6100

Powered by Codex Action

aibrahim-oai contributor · 9 months ago

You can see the shortcuts by ?. New lines are usually inserted via ctrl+j. That's because of terminal limitations.

etraut-openai contributor · 9 months ago

Closing in favor of #4218