mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## What changed - Probe for screen readers at startup on macOS, Windows, and Linux, with a 450 ms timeout. Include Windows Narrator detection in the current login session. - Save `tui.animations = false` when a screen reader is detected and no user animation preference is configured. Preserve explicit preferences and config comments, and retain a session default if saving fails. - Record the attempt in `tui.screen_reader_detection_done`; either boolean value skips future detection. Allow explicit animation preferences to override the screen-reader default on reload. ## Testing Add tests for one-time detection, timeouts, preference preservation, temporary CLI overrides, persistence failures, and preference reloads. Verify rendering without animation frame requests and interactive startup that records detection without replacing an explicit preference. GitOrigin-RevId: f61c19dfd053f97e8cfed68dce7389fa7601120d
16 lines
308 B
Rust
16 lines
308 B
Rust
// Aggregates all former standalone integration tests as modules.
|
|
#[cfg(unix)]
|
|
mod directory_trust;
|
|
#[cfg(unix)]
|
|
mod focus_palette;
|
|
#[cfg(unix)]
|
|
mod reconnect;
|
|
mod resize_reflow;
|
|
#[cfg(unix)]
|
|
mod screen_reader;
|
|
mod status_indicator;
|
|
mod vt100_history;
|
|
mod vt100_live_commit;
|
|
#[cfg(unix)]
|
|
mod worktree_stack;
|