mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why A choice taller than the TUI's answer area could never be displayed in full at that terminal size, so users could neither read it to the end nor submit it. ## What changed Let `PageUp` and `PageDown` scroll through the wrapped lines of an oversized choice while keeping it selected. Allow submission once every line of the choice has been displayed in order and at full width. ## Testing Add regression coverage for paging without changing the selection, rejecting submission when repeated page keys skip lines before redraw, and rejecting choices clipped horizontally. GitOrigin-RevId: c296323494bd387581c2bb046272a8ccd773ad75