mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why The TUI skipped the frame that flushed buffered input, so pasted text and pending Vim replacement keys only appeared on a follow-up redraw. ## What changed Refresh startup recovery after a flush and render in the current frame once all editors have finished buffering. If an editor is still buffering, defer rendering and schedule another tick. ## Testing Update the multiline paste test to require the text to appear on the first draw after the paste timeout. Update the startup recovery test to check that committing a pending Vim replacement key allows that frame to render. GitOrigin-RevId: 8c92f075aa2c9ada3b60ecdf83b1f677ffd52f1a