mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
## Why During inline-mode resize reflow, replayed history can overlap a zero- or one-row history region and leave stale terminal characters visible in the composer. Resetting the previous render buffer is insufficient because default-style spaces may still compare equal and be skipped. ## What changed - Mark every cell in an invalidated viewport for unconditional repainting. - Invalidate the viewport after flushing pending history when history can overlap it. ## Testing Add regression coverage for repainting spaces over stale cells and a manual `tmux` resize smoke test for preserving visible multiline draft text. GitOrigin-RevId: 5a8a480e2fc50c801561de6a4598a3ab8c12b8d6