Files
codex/codex-rs/tui
Eric Traut cf3ff1530d Show a loading indicator while the resume picker starts (#63102)
## Why

`codex resume` can wait for the app server connection and login status
before the session picker opens, leaving the terminal blank while they wait.

## What changed

Display “Loading sessions…” during startup using the same styling as the
picker. Clear the inline indicator after the login status check or when
startup fails or is canceled.

## Testing

Add a terminal test that holds open a Unix socket to stall the connection,
checks that `codex resume --no-alt-screen` displays the loading indicator,
then closes the socket and verifies that the error replaces the indicator.

GitOrigin-RevId: 04b1a40343be284e2c56fd9519bb57a2b2fa6ecd
2026-11-22 08:27:26 +00:00
..