Files
codex/codex-rs
Eric Traut 5b249d57b2 Avoid panics when TUI recovery diagnostics fail to write (#63516)
## Why

`eprintln!` can panic if stderr is closed or otherwise unwritable,
turning an attempt to report a recovery error into another failure.

## What changed

Write cursor cleanup, terminal restoration, and worktree startup
recovery diagnostics with `writeln!` on locked stderr and ignore write
errors so recovery can proceed.

GitOrigin-RevId: 476144173a3e04e0153018614c3086371885ed65
2026-11-24 03:13:52 +00:00
..
…
…
…