codex - 💡(How to fix) Fix Multiline input no longer works in Codex CLI inside WebStorm Terminal. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21163Fetched 2026-05-06 06:25:36
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1cross-referenced ×1

Error Message

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

RAW_BUFFERClick to expand / collapse

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/[email protected], pressing Shift+Enter inserts a newline correctly.

In @openai/[email protected], 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/[email protected].

In Windows Terminal, Shift+Enter also works correctly with [email protected] and [email protected].

extent analysis

TL;DR

Downgrade to @openai/[email protected] to restore multiline input functionality in WebStorm integrated terminal.

Guidance

  • Verify that the issue is specific to the WebStorm integrated terminal by testing multiline input in other terminals, such as Windows Terminal.
  • Check if there are any known issues or updates related to keyboard handling in @openai/[email protected].
  • Test if other keyboard shortcuts, such as Ctrl+Enter, exhibit the same behavior as Shift+Enter and Ctrl+J.
  • Consider reporting the issue to the Codex CLI developers or WebStorm support team for further assistance.

Example

No code snippet is provided as this issue appears to be related to keyboard handling and terminal emulation rather than code.

Notes

This workaround may not be suitable for users who rely on features or fixes introduced in @openai/[email protected]. The issue may be specific to the combination of WebStorm integrated terminal and @openai/[email protected].

Recommendation

Apply workaround: Downgrade to @openai/[email protected] to restore multiline input functionality, as it has been confirmed to work correctly in this version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Multiline input no longer works in Codex CLI inside WebStorm Terminal. [1 comments, 2 participants]