Lightweight coding agent that runs in your terminal
Rust
Remove unused TUI collaboration mode indicators (#33872)
jif1fc15cc9a98e
diff --git a/codex-rs/tui/src/bottom_pane/footer.rs b/codex-rs/tui/src/bottom_pane/footer.rsindex e11534ac82..189e2dfe6d 100644--- a/codex-rs/tui/src/bottom_pane/footer.rs+++ b/codex-rs/tui/src/bottom_pane/footer.rs@@ -89,10 +89,6 @@ pub(crate) struct FooterProps {#[derive(Clone, Copy, Debug, Eq, PartialEq)]pub(crate) enum CollaborationModeIndicator {Plan,- #[allow(dead_code)] // Hidden by current mode filtering; kept for future UI re-enablement.- PairProgramming,- #[allow(dead_code)] // Hidden by current mode filtering; kept for future UI re-enablement.- Execute,}#[derive(Clone, Debug, Eq, PartialEq)]@@ -147,10 +143,6 @@ impl CollaborationModeIndicator {};match self {CollaborationModeIndicator::Plan => format!("Plan mode{suffix}"),- CollaborationModeIndicator::PairProgramming => {- format!("Pair Programming mode{suffix}")- }- CollaborationModeIndicator::Execute => format!("Execute mode{suffix}"),}}@@ -158,8 +150,6 @@ impl CollaborationModeIndicator {let label = self.label(show_cycle_hint);match self {CollaborationModeIndicator::Plan => Span::from(label).magenta(),- CollaborationModeIndicator::PairProgramming => Span::from(label).cyan(),- CollaborationModeIndicator::Execute => Span::from(label).dim(),}}}