Skip to content

Shift-enter submits plan mode question-answers #15682

Closed as duplicate
Closed as duplicate

Description

@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

Activity

  1. added
    bug
    on Mar 24, 2026
  2. added
    CLI
    TUI
    on Mar 24, 2026
  3. github-actions commented on Mar 24, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. removed
    CLI
    on Mar 24, 2026
  5. etraut-openai commented on Oct 12, 2026

    @etraut-openai
    Contributor

    Closing as a duplicate of #11559, which tracks Shift+Enter submitting plan-question notes instead of inserting a newline. We are keeping that issue open for the fix; please add further details there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions