mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Going offline can change the slash command menu while a user is choosing a command. With `/ex` typed and `/export` selected, a disconnect could move the highlight to `/exit` and cause Enter to quit Codex. ## What changed - Keep the same command highlighted when it remains in the menu. If it disappears, clear the selection and prevent submission from falling back to the draft. Restore the cursor, selection, and popup dismissal on reconnect. - Honor configured submit chords in restricted slash command menus and prevent Tab from queuing the draft there. - When users try to report an issue offline, scroll to the latest transcript entry to show the thread ID and prompt them to reconnect and retry. ## Testing Add regression coverage for the `/export` to `/exit` case, popup state after reconnect, offline Tab and submit chords, Vim command submission, and thread ID visibility while scrolled back. GitOrigin-RevId: 8143534f9d40e77a389d80d1dff3db993e194a23