Skip to content

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

Closed

Description

@joshka

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

Activity

  1. added
    enhancement
    on Apr 29, 2026
  2. added
    CLI
    TUI
    on Apr 29, 2026
  3. removed
    CLI
    on Apr 29, 2026
  4. added a commit that references this issue on Apr 30, 2026
    515aa9a
  5. etraut-openai commented on Apr 30, 2026

    @etraut-openai
    Contributor

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

  6. joshka commented on Apr 30, 2026

    @joshka
    Author

    No probs - thanks for the quick update.

  7. added a commit that references this issue on May 7, 2026
    449173a
  8. candoro9 commented on Jun 4, 2026

    @candoro9

    I am experiencing this as well, with Shift + D

    Codex version: 26.601.21317

  9. joshka commented on Jun 4, 2026

    @joshka
    Author

    @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.

  10. added a commit that references this issue on Jun 27, 2026
    938bc47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions