mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
Add Astra sparkle effects to the TUI composer (#42842)
## What changed - Render sparse, fading stars across the composer when using an Astra model in a true-color terminal. - Preserve composer content, cursor state, effort effects, and terminal colors, and pause the animation while popups are open. - Add the default-on `tui.whimsy` setting so decorative effects can be disabled independently. Sparkles also respect `tui.animations`. ## Testing - Cover model and setting eligibility, terminal color handling, protected composer cells, popup behavior, effort effects, and layout stability. GitOrigin-RevId: fe0471ebef0bca21c44e1d8f731d46959eba0165
This commit is contained in:
@@ -225,6 +225,7 @@ fn new_config(model: Option<String>, arg0_paths: Arg0DispatchPaths) -> anyhow::R
|
||||
notify: None,
|
||||
tui_notifications: TuiNotificationSettings::default(),
|
||||
animations: true,
|
||||
tui_whimsy: true,
|
||||
show_tooltips: true,
|
||||
tui_auto_recap: true,
|
||||
model_availability_nux: ModelAvailabilityNuxConfig::default(),
|
||||
|
||||
Reference in New Issue
Block a user