ctrl+d in /side should exit the side chat, not exit codex

Resolved 💬 4 comments Opened Apr 29, 2026 by joshka Closed Apr 30, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

cli

What feature would you like to see?

I was in a side chat and hit ctrl+d expecting it to exit out of the layer into the root layer of chat, but codex exited. Side chats are similar to a subshell in a shell, so ctrl+d should be an unwind / exit layer rather than a quit command here (or at least prompt). The Impact of not doing this is loss of CoT on the main chat because it's not reloaded when running resume.

Additional information

_No response_

View original on GitHub ↗

4 Comments

etraut-openai contributor · 4 months ago

Thanks for the bug report. This will be addressed in the next release.

joshka · 4 months ago

No probs - thanks for the quick update.

candoro9 · 2 months ago

I am experiencing this as well, with Shift + D

Codex version: 26.601.21317

joshka · 2 months ago

@candoro9 please open another bug for better visibility with more specific details of what you're seeing. Shift+D seems odd enough that you probably need to properly document what your are seeing here (terminal, etc.).
This was a CLI bug not an App bug btw and you've posted an app version, so there's an initial mismatch there already.