Skip to content

Multiline input no longer works in Codex CLI inside WebStorm Terminal. #21163

@simprl

Description

@simprl

What version of Codex CLI is running?

0.128.0

What subscription do you have?

Plus

Which model were you using?

any

What platform is your computer?

Windows

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

PowerShell in WebStorm integrated terminal

What issue are you seeing?

Multiline input no longer works in Codex CLI inside the WebStorm integrated terminal.

In @openai/codex@0.125.0, pressing Shift+Enter inserts a newline correctly.

In @openai/codex@0.128.0, pressing Shift+Enter submits the prompt instead of inserting a newline. Ctrl+J also does not insert a newline and the prompt is submitted.

There is no visible error message. The issue is only with keyboard handling in the prompt input.

What steps can reproduce the bug?

  1. Open WebStorm integrated terminal.
  2. Run: codex
  3. Type a prompt.
  4. Press Shift+Enter or Ctrl+J.
  5. The prompt is submitted immediately.

What is the expected behavior?

A newline is inserted into the input box.

Additional information

The same multiline input in webstorm terminal works in @openai/codex@0.125.0.

In Windows Terminal, Shift+Enter also works correctly with codex@0.125.0 and codex@0.128.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions