mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why Switching away from an idle composer can write to the terminal even when there are no animations to clear. Regaining focus already triggers a draw. ## What changed On focus loss, request a redraw when composer sparkles are visible or when an active empty-state replay is canceled. ## Testing Add a PTY regression test that checks for zero terminal output after idle focus loss and verifies that input is accepted immediately after focus returns, in both inline and fullscreen modes. GitOrigin-RevId: c961a4274049b98fff7307092f6ac89d51cf8e95