codex/codex-rs/tui
Benjamin Carlsson 095da4b7e8 Fix transcript viewer restoration and half-page scrolling (#43889)
## Why

Repeated alternate-screen entry can overwrite the saved inline viewport, and half-page scrolling can use a different height from the rendered transcript.

## What changed

- Make alternate-screen entry idempotent to preserve the inline viewport for restoration.
- Defer transcript reflow after raw output mode changes while an overlay is open, preserving queued history until the overlay closes.
- Use the last rendered content height for half-page scrolling, matching full-page scrolling.

## Testing

Add regression coverage for restoring the inline viewport and draft after closing the transcript with pending history and a raw output mode change, plus half-page scrolling when the rendered height differs from the terminal viewport.

GitOrigin-RevId: 30847df4b6383db26791ebda20470c9b169f9680
History 2026-09-08 19:06:42 +00:00
..
assets Organize bundled Rust resources under asset directories (#41477) 2026-08-29 06:05:28 +00:00
frames Rename tui_app_server to tui (#16104) 2026-03-28 11:23:07 -06:00
src Fix transcript viewer restoration and half-page scrolling (#43889) 2026-09-08 19:06:42 +00:00
tests Defer resume picker and directory changes to a fresh TUI stack (#43376) 2026-09-07 06:43:23 +00:00
BUILD.bazel Isolate Bazel build commit metadata from Rust compilation inputs (#43304) 2026-09-06 23:49:46 +00:00
Cargo.toml Add live WebRTC voice conversations to the TUI (#43581) 2026-09-07 20:25:30 +00:00
styles.md Rename tui_app_server to tui (#16104) 2026-03-28 11:23:07 -06:00