render • as dim (#4467)
<img width="988" height="686" alt="Screenshot 2025-09-29 at 3 28 30 PM" src="https://github.com/user-attachments/assets/634a6e6f-cdc0-49af-97c1-096e871414bb" />
This commit is contained in:
@@ -200,7 +200,7 @@ impl ExecCell {
|
||||
if self.is_active() {
|
||||
spinner(self.active_start_time())
|
||||
} else {
|
||||
"•".into()
|
||||
"•".dim()
|
||||
},
|
||||
" ".into(),
|
||||
if self.is_active() {
|
||||
|
||||
@@ -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<String>) -> 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<Line<'static>> = 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<Line<'static>> = 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();
|
||||
|
||||
Reference in New Issue
Block a user