Shift-enter submits plan mode question-answers

Open 💬 1 comment Opened Mar 24, 2026 by aehlke

What version of Codex CLI is running?

0.116.0

What subscription do you have?

pro

Which model were you using?

_No response_

What platform is your computer?

macos

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

Shift-enter works in the CLI app for inserting newlines. But when presented with a question during plan mode, shift-enter surprisingly submits the answer immediately instead of inserting a newline. This wastes a lot of time and tokens.

What steps can reproduce the bug?

Use plan mode such that it asks a question. Then type anything, and press shift-enter

What is the expected behavior?

Either insert a newline, or at least just reject the input instead of submitting the answer! When shift-enter is reliable in other CLI text entry, having it submit an answer prematurely is unexpected and can lead to losing session progress.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗