diff --git a/crates/goose-cli/src/session/mod.rs b/crates/goose-cli/src/session/mod.rs index bed33e87fa..a8f5ce06c1 100644 --- a/crates/goose-cli/src/session/mod.rs +++ b/crates/goose-cli/src/session/mod.rs @@ -495,6 +495,10 @@ impl CliSession { let current = output::get_theme(); let new_theme = match current { + output::Theme::Ansi => { + println!("Switching to Light theme"); + output::Theme::Light + } output::Theme::Light => { println!("Switching to Dark theme"); output::Theme::Dark @@ -503,10 +507,6 @@ impl CliSession { println!("Switching to Ansi theme"); output::Theme::Ansi } - output::Theme::Ansi => { - println!("Switching to Light theme"); - output::Theme::Light - } }; output::set_theme(new_theme); continue; diff --git a/crates/goose-cli/src/session/output.rs b/crates/goose-cli/src/session/output.rs index 7b115ff90a..14b598e3b6 100644 --- a/crates/goose-cli/src/session/output.rs +++ b/crates/goose-cli/src/session/output.rs @@ -60,7 +60,7 @@ thread_local! { .unwrap_or_else(|| Config::global().get_param::("GOOSE_CLI_THEME").ok() .map(|val| Theme::from_config_str(&val)) - .unwrap_or(Theme::Dark) + .unwrap_or(Theme::Ansi) ) ); }