Bug: Enter key in embedded terminal triggers chat option selection
Open 💬 0 comments Opened Feb 8, 2026 by librelois
What version of the Codex App are you using (From “About Codex” dialog)?
260206.1448 (565)
What subscription do you have?
GPT Plus
What issue are you seeing?
When using Codex Desktop, pressing the Enter key inside the embedded terminal can unintentionally interact with the chat UI. If the chat is asking a question (for example, a multiple-choice prompt) at the same time, the Enter key automatically selects/validates the first option, even though the terminal has focus.
This suggests a keyboard focus / event propagation issue between the terminal component and the chat UI.
Impact
This causes unintended chat interactions and incorrect selections, especially during fast command entry, leading to workflow disruptions and potential incorrect actions.
What steps can reproduce the bug?
- Open Codex Desktop.
- Open the embedded terminal.
- Trigger a situation where the chat asks a question (e.g. a prompt with selectable options).
- Click inside the embedded terminal to ensure it has focus.
- Press the Enter key to execute a command or submit input in the terminal.
Observed behavior
- Pressing Enter in the terminal also validates/selects the first option in the chat question, even though the chat is not focused.
What is the expected behavior?
- When the focus is inside the embedded terminal, Enter and other keyboard inputs should only affect the terminal.
- Keyboard input should not interact with the active chat question or select any chat option unless the chat explicitly has focus.
Additional information
_No response_