core-agent-ide/codex-rs/tui/src/chatwidget
Eric Traut d909048a85
Added feature switch to disable animations in TUI (#6870)
This PR adds support for a new feature flag `tui.animations`. By
default, the TUI uses animations in its welcome screen, "working"
spinners, and "shimmer" effects. This animations can interfere with
screen readers, so it's good to provide a way to disable them.

This change is inspired by [a
PR](https://github.com/openai/codex/pull/4014) contributed by @Orinks.
That PR has faltered a bit, but I think the core idea is sound. This
version incorporates feedback from @aibrahim-oai. In particular:
1. It uses a feature flag (`tui.animations`) rather than the unqualified
CLI key `no-animations`. Feature flags are the preferred way to expose
boolean switches. They are also exposed via CLI command switches.
2. It includes more complete documentation.
3. It disables a few animations that the other PR omitted.
2025-11-20 10:40:08 -08:00
..
snapshots fix: command formatting for user commands (#7002) 2025-11-20 17:29:15 +01:00
agent.rs Revert "[core] add optional status_code to error events (#6865)" (#6955) 2025-11-20 01:26:14 +00:00
interrupts.rs refactor onboarding screen to a separate "app" (#2524) 2025-08-20 20:47:24 +00:00
session_header.rs Add session header to chat widget (#3592) 2025-09-14 17:53:50 -07:00
tests.rs Added feature switch to disable animations in TUI (#6870) 2025-11-20 10:40:08 -08:00