mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why Without a UI flush tick, expired paste detection can cause Enter to be treated as part of a paste instead of submitting buffered input. ## What changed Flush due characters and paste buffers before classifying Enter during submission, including in Vim insert mode. Preserve the buffered text when submission is blocked for a parent-owned thread. ## Testing Add regression tests for held characters and buffered bursts with and without Vim mode and parent-owned threads, plus a snapshot test for Enter submitting expired input in Vim insert mode. GitOrigin-RevId: 1d0d309b57e9d2151e0d9c1774a3401d05413d3c