From c81baaabdaaae7f207080b2e21d91729baa2dd71 Mon Sep 17 00:00:00 2001
From: Jeremy Rose <172423086+nornagon-openai@users.noreply.github.com>
Date: Mon, 29 Sep 2025 15:58:15 -0700
Subject: [PATCH] no background for /command or @file popup (#4469)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
before:
after:
---
codex-rs/tui/src/bottom_pane/chat_composer.rs | 6 ------
1 file changed, 6 deletions(-)
diff --git a/codex-rs/tui/src/bottom_pane/chat_composer.rs b/codex-rs/tui/src/bottom_pane/chat_composer.rs
index f9e9dd76..ed11be9e 100644
--- a/codex-rs/tui/src/bottom_pane/chat_composer.rs
+++ b/codex-rs/tui/src/bottom_pane/chat_composer.rs
@@ -1238,12 +1238,6 @@ impl ChatComposer {
impl WidgetRef for ChatComposer {
fn render_ref(&self, area: Rect, buf: &mut Buffer) {
let [composer_rect, textarea_rect, popup_rect] = self.layout_areas(area);
- if !matches!(self.active_popup, ActivePopup::None) {
- buf.set_style(
- popup_rect,
- user_message_style(terminal_palette::default_bg()),
- );
- }
match &self.active_popup {
ActivePopup::Command(popup) => {
popup.render_ref(popup_rect, buf);