mirror of
https://github.com/openai/codex.git
synced 2026-11-28 07:32:19 +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:
1 parent
60888d0868
commit
147137c1f4
13 files changed
+498
No files matched your search
@@ -12,6 +12,7 @@ async fn local_load_preserves_defaults_and_resolved_overrides() -> anyhow::Resul
|
||||
r#"
|
||||
[tui]
|
||||
animations = false
|
||||
whimsy = false
|
||||
show_tooltips = false
|
||||
auto_recap = false
|
||||
vim_mode_default = true
|
||||
@@ -41,6 +42,7 @@ fast_default_opt_out = true
|
||||
expected.session_picker_view = Some(SessionPickerViewMode::Dense);
|
||||
if !config_text.is_empty() {
|
||||
expected.animations = false;
|
||||
expected.whimsy = false;
|
||||
expected.show_tooltips = false;
|
||||
expected.auto_recap = false;
|
||||
expected.vim_mode_default = true;
|
||||
|
||||
Reference in new issue
Block a user