Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Revert recent styling change for input prompt placeholder text (#9307)

Eric Traut5f10548772e3
diff --git a/codex-rs/tui/src/bottom_pane/chat_composer.rs b/codex-rs/tui/src/bottom_pane/chat_composer.rs
index facfab622c..343403704e 100644
--- a/codex-rs/tui/src/bottom_pane/chat_composer.rs
+++ b/codex-rs/tui/src/bottom_pane/chat_composer.rs
@@ -2230,7 +2230,7 @@ impl Renderable for ChatComposer {
.unwrap_or("Input disabled.")
.to_string()
};
- let placeholder = Span::from(text).dim().italic();
+ let placeholder = Span::from(text).dim();
Line::from(vec![placeholder]).render_ref(textarea_rect.inner(Margin::new(0, 0)), buf);
}
}
diff --git a/codex-rs/tui2/src/bottom_pane/chat_composer.rs b/codex-rs/tui2/src/bottom_pane/chat_composer.rs
index 7cc2dbabf1..c9058e0153 100644
--- a/codex-rs/tui2/src/bottom_pane/chat_composer.rs
+++ b/codex-rs/tui2/src/bottom_pane/chat_composer.rs
@@ -2199,7 +2199,7 @@ impl Renderable for ChatComposer {
.unwrap_or("Input disabled.")
.to_string()
};
- let placeholder = Span::from(text).dim().italic();
+ let placeholder = Span::from(text).dim();
Line::from(vec![placeholder]).render_ref(textarea_rect.inner(Margin::new(0, 0)), buf);
}
}