Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Alias `tui.whimsy` to `tui.effects.starfield` (#47908)

Ian MacLeod5c8fc15cc992
diff --git a/codex-rs/config/src/key_aliases.rs b/codex-rs/config/src/key_aliases.rs
index 2a813a1b11..3d0bf1ed7d 100644
--- a/codex-rs/config/src/key_aliases.rs
+++ b/codex-rs/config/src/key_aliases.rs
@@ -10,6 +10,10 @@ struct ConfigKeyAlias {
}
const CONFIG_KEY_ALIASES: &[ConfigKeyAlias] = &[
+ ConfigKeyAlias {
+ legacy: &["tui", "whimsy"],
+ canonical: &["tui", "effects", "starfield"],
+ },
ConfigKeyAlias {
legacy: &["memories", "no_memories_if_mcp_or_web_search"],
canonical: &["memories", "disable_on_external_context"],
diff --git a/codex-rs/tui/src/local_settings_tests.rs b/codex-rs/tui/src/local_settings_tests.rs
index 7422aa7ea4..3c8cc2b346 100644
--- a/codex-rs/tui/src/local_settings_tests.rs
+++ b/codex-rs/tui/src/local_settings_tests.rs
@@ -97,7 +97,6 @@ async fn local_load_preserves_defaults_and_resolved_overrides() -> anyhow::Resul
r#"
[tui]
animations = false
-whimsy = false # Retired: must not override effects or prevent strict loading.
show_tooltips = false
show_server_version_notice = false
auto_recap = false