Regression: newline still broken in Zed on Windows in 0.130.0
Open 💬 3 comments Opened May 9, 2026 by lgc653
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.130.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.5
What platform is your computer?
Windows x64
What terminal emulator and version are you using (if applicable)?
Zed integrated terminal
Zed 1.1.7
commit c17f25cd782edffab64b7c4167abfa44f865b125
What issue are you seeing?
This is still broken for me in Zed on Windows.
I was asked to open a new issue after commenting here:
https://github.com/openai/codex/issues/20555#issuecomment-4412827981
What I confirmed:
0.125.0: newline works0.128.0: broken0.130.0: still broken
Upgrading does not fix it.
Adding the suggested tui.keymap.editor.insert_newline config does not fix it either.
For me, the only workaround is downgrading back to 0.125.0.
What steps can reproduce the bug?
- Open Zed on Windows.
- Open the integrated terminal.
- Run
codex. - Type some text.
- Try to insert a newline.
What is the expected behavior?
A newline should be inserted so multi-line input works normally.
Additional information
I tested these in Zed and none of them inserted a newline:
Shift+EnterAlt+EnterCtrl+J- custom
tui.keymap.editor.insert_newlineconfig
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I checked this with
/keymap debugin Zed on Windows.When I press
Shift+Enter, Codex receives:ctrl + enterctrl-entercode=Enter, modifiers=ctrl, kind=PressnoneSo in my environment, Codex is receiving the key event, but it is being interpreted as
ctrl-enter, andctrl-enteris not assigned to newline insertion by default.This also explains why
Shift+Enterstill does nothing for me in Zed on Windows.I put together a small patch for this path:
https://github.com/openai/codex/compare/main...misrtjakub:fix/zed-windows-ctrl-enter-newline?expand=1
It adds
ctrl-enterto the defaulteditor.insert_newlinebindings, matching the/keymap debugoutput from Zed on Windows:ctrl + enterctrl-entercode=Enter, modifiers=ctrl, kind=PressnoneValidation: