Repository navigation
Conversation
|
Thanks! Could you add a test as part of this that ensures we don't regress and that things are generally working as expected? |
|
They really don't work as expected :) But sure! |
|
Fixing this #545. Annoying. |
There was a problem hiding this comment.
This looks unrelated, could you revert this together with the associated test?
|
I created an upstream PR to resolve the issue where the shift key is always set to |
51c2086 to
0dbcd4e
Compare
|
@tibo-openai sorry for my poor branch work. I am actually using codex in two terminals and sometimes things get messed up. I will split the envs. |
|
I tested this branch using both Ghostty + iTerm 2 and it seems to keep sending when I press 'shift+enter' - is there something I'm missing? |
|
Thanks for the contribution! We're primarily focused on the native/Rust implementation of Codex CLI and would love to see if this is still an issue on the latest version. If it is, we're happy to take a look at a PR to the |
Fix: Shift + Enter inserts a newline
Summary
Restores the expected “new line vs send” behavior in the multiline editor.
Key points
multiline‑editor.tsxHandles CSI‑u (
ESC [13;mod u) and legacy (ESC [27;mod;13~) Shift/Ctrl‑Enter sequences, with or without the leading ESC.Shift+Enter→ newline;Ctrl+Enteror plainEnter→ submit.ESLint‑clean; no formatting changes elsewhere.