From 55b74c95e29f331b504271e847e0077c182dbf30 Mon Sep 17 00:00:00 2001
From: Jeremy Rose <172423086+nornagon-openai@users.noreply.github.com>
Date: Mon, 29 Sep 2025 15:46:47 -0700
Subject: [PATCH] =?UTF-8?q?render=20=E2=80=A2=20as=20dim=20(#4467)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
codex-rs/tui/src/exec_cell/render.rs | 2 +-
codex-rs/tui/src/history_cell.rs | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/codex-rs/tui/src/exec_cell/render.rs b/codex-rs/tui/src/exec_cell/render.rs
index 27cb53d7..daf59565 100644
--- a/codex-rs/tui/src/exec_cell/render.rs
+++ b/codex-rs/tui/src/exec_cell/render.rs
@@ -200,7 +200,7 @@ impl ExecCell {
if self.is_active() {
spinner(self.active_start_time())
} else {
- "•".into()
+ "•".dim()
},
" ".into(),
if self.is_active() {
diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs
index d0e13003..5e42e203 100644
--- a/codex-rs/tui/src/history_cell.rs
+++ b/codex-rs/tui/src/history_cell.rs
@@ -166,7 +166,7 @@ impl HistoryCell for ReasoningSummaryCell {
word_wrap_lines(
&summary_lines,
RtOptions::new(width as usize)
- .initial_indent("• ".into())
+ .initial_indent("• ".dim().into())
.subsequent_indent(" ".into()),
)
}
@@ -200,7 +200,7 @@ impl HistoryCell for AgentMessageCell {
&self.lines,
RtOptions::new(width as usize)
.initial_indent(if self.is_first_line {
- "• ".into()
+ "• ".dim().into()
} else {
" ".into()
})
@@ -901,7 +901,7 @@ pub(crate) fn new_mcp_tools_output(
}
pub(crate) fn new_info_event(message: String, hint: Option) -> PlainHistoryCell {
- let mut line = vec!["• ".into(), message.into()];
+ let mut line = vec!["• ".dim(), message.into()];
if let Some(hint) = hint {
line.push(" ".into());
line.push(hint.dark_gray());
@@ -964,7 +964,7 @@ impl HistoryCell for PlanUpdateCell {
};
let mut lines: Vec> = vec![];
- lines.push(vec!["• ".into(), "Updated Plan".bold()].into());
+ lines.push(vec!["• ".dim(), "Updated Plan".bold()].into());
let mut indented_lines = vec![];
let note = self
@@ -1036,7 +1036,7 @@ pub(crate) fn new_proposed_command(command: &[String]) -> PlainHistoryCell {
let cmd = strip_bash_lc_and_escape(command);
let mut lines: Vec> = Vec::new();
- lines.push(Line::from(vec!["• ".into(), "Proposed Command".bold()]));
+ lines.push(Line::from(vec!["• ".dim(), "Proposed Command".bold()]));
let highlighted_lines = crate::render::highlight::highlight_bash_to_lines(&cmd);
let initial_prefix: Span<'static> = " └ ".dim();