Lightweight coding agent that runs in your terminal
Rust
Make plan highlight use popup grey background (#10253)
Charley Cunningham83317ed4bff9
diff --git a/codex-rs/tui/src/style.rs b/codex-rs/tui/src/style.rsindex 2b4ab4c4d3..fc8fd4c501 100644--- a/codex-rs/tui/src/style.rs+++ b/codex-rs/tui/src/style.rs@@ -40,10 +40,5 @@ pub fn user_message_bg(terminal_bg: (u8, u8, u8)) -> Color {#[allow(clippy::disallowed_methods)]pub fn proposed_plan_bg(terminal_bg: (u8, u8, u8)) -> Color {- let (top, alpha) = if is_light(terminal_bg) {- ((0, 110, 150), 0.08)- } else {- ((80, 170, 220), 0.2)- };- best_color(blend(top, terminal_bg, alpha))+ user_message_bg(terminal_bg)}