You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🔥 Regression: newline shortcut no longer works in PyCharm integrated terminal on Windows since 0.126.0-alpha.11 #24485
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems
What terminal emulator and version are you using (if applicable)?
PyCharm, "Classic" and "Reworked 2025"
What issue are you seeing?
After upgrading the npm-installed Codex CLI from 0.126.0-alpha.10 to 0.126.0-alpha.11, inserting a newline in the TUI composer no longer works in the PyCharm integrated terminal on Windows.
The same shortcut/input still works in normal Windows shell / PowerShell, and downgrading to 0.126.0-alpha.10 fixes the issue.
Likely related change:
0.126.0-alpha.11 includes PR #18593, which rewired TUI input handling through the new runtime keymap. The commit fix(tui): honor remapped submit keys removed the legacy Enter/Tab submission fallback. This likely changed how modified Enter events from JetBrains terminals are routed.
Suggested fix:
Ensure modified Enter variants emitted by JetBrains integrated terminals are mapped to editor.insert_newline, or preserve the old textarea fallback for Enter events with unsupported/non-submit modifiers.
Potential regression test:
Add a composer test that simulates the JetBrains/PyCharm Enter-with-modifier event and verifies:
Ah come on, you won't tell me that you were not able to fix this easy bug within how much weeks? You even have AI-help. This is really really damn poor. Maybe I should cancel my subscription and turn to Anthrophic.
Thanks for narrowing down the regression. I reproduced it with Codex CLI 0.171.0 in PyCharm 2025.3.4 on Windows 10. In that terminal, Codex receives Shift+Enter as Alt+Enter and Ctrl+J as Ctrl+Enter.
Your insert_newline list replaces the defaults. Adding alt-enter and ctrl-enter to that list in config.toml lets Codex recognize both shortcuts.
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
noragen commentedon Jun 28, 2026
Ah come on, you won't tell me that you were not able to fix this easy bug within how much weeks? You even have AI-help. This is really really damn poor. Maybe I should cancel my subscription and turn to Anthrophic.
etraut-openai commentedon Nov 21, 2026
(response from codex)
Thanks for narrowing down the regression. I reproduced it with Codex CLI
0.171.0in PyCharm2025.3.4on Windows 10. In that terminal, Codex receivesShift+EnterasAlt+EnterandCtrl+JasCtrl+Enter.Your
insert_newlinelist replaces the defaults. Addingalt-enterandctrl-enterto that list inconfig.tomllets Codex recognize both shortcuts.I verified that
Shift+EnterandCtrl+Jeach inserted a line break in the same prompt. I’m closing this with the verified workaround.