diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs index c266c474..3268a92a 100644 --- a/codex-rs/tui/src/slash_command.rs +++ b/codex-rs/tui/src/slash_command.rs @@ -66,8 +66,10 @@ impl SlashCommand { | SlashCommand::Mention | SlashCommand::Status | SlashCommand::Mcp - | SlashCommand::Quit - | SlashCommand::TestApproval => true, + | SlashCommand::Quit => true, + + #[cfg(debug_assertions)] + SlashCommand::TestApproval => true, } } }