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() {
|
if self.is_active() {
|
||||||
spinner(self.active_start_time())
|
spinner(self.active_start_time())
|
||||||
} else {
|
} else {
|
||||||
"•".into()
|
"•".dim()
|
||||||
},
|
},
|
||||||
" ".into(),
|
" ".into(),
|
||||||
if self.is_active() {
|
if self.is_active() {
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ impl HistoryCell for ReasoningSummaryCell {
|
|||||||
word_wrap_lines(
|
word_wrap_lines(
|
||||||
&summary_lines,
|
&summary_lines,
|
||||||
RtOptions::new(width as usize)
|
RtOptions::new(width as usize)
|
||||||
.initial_indent("• ".into())
|
.initial_indent("• ".dim().into())
|
||||||
.subsequent_indent(" ".into()),
|
.subsequent_indent(" ".into()),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -200,7 +200,7 @@ impl HistoryCell for AgentMessageCell {
|
|||||||
&self.lines,
|
&self.lines,
|
||||||
RtOptions::new(width as usize)
|
RtOptions::new(width as usize)
|
||||||
.initial_indent(if self.is_first_line {
|
.initial_indent(if self.is_first_line {
|
||||||
"• ".into()
|
"• ".dim().into()
|
||||||
} else {
|
} else {
|
||||||
" ".into()
|
" ".into()
|
||||||
})
|
})
|
||||||
@@ -901,7 +901,7 @@ pub(crate) fn new_mcp_tools_output(
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn new_info_event(message: String, hint: Option<String>) -> PlainHistoryCell {
|
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 {
|
if let Some(hint) = hint {
|
||||||
line.push(" ".into());
|
line.push(" ".into());
|
||||||
line.push(hint.dark_gray());
|
line.push(hint.dark_gray());
|
||||||
@@ -964,7 +964,7 @@ impl HistoryCell for PlanUpdateCell {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let mut lines: Vec<Line<'static>> = vec![];
|
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 mut indented_lines = vec![];
|
||||||
let note = self
|
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 cmd = strip_bash_lc_and_escape(command);
|
||||||
|
|
||||||
let mut lines: Vec<Line<'static>> = Vec::new();
|
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 highlighted_lines = crate::render::highlight::highlight_bash_to_lines(&cmd);
|
||||||
let initial_prefix: Span<'static> = " └ ".dim();
|
let initial_prefix: Span<'static> = " └ ".dim();
|
||||||
|
|||||||
Reference in New Issue
Block a user