Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codex-rs/tui/src/bottom_pane/footer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ fn context_window_line(percent: Option<u8>) -> Line<'static> {
let mut spans: Vec<Span<'static>> = Vec::new();
match percent {
Some(percent) => {
spans.push(format!("{percent}%").bold());
spans.push(format!("{percent}%").dim());
spans.push(" context left".dim());
}
None => {
Expand Down
4 changes: 2 additions & 2 deletions codex-rs/tui/src/bottom_pane/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ mod tests {
top.push(buf[(x, 1)].symbol().chars().next().unwrap_or(' '));
}
assert!(
top.trim_start().starts_with("Working"),
"expected top row to start with 'Working': {top:?}"
top.trim_start().starts_with("Working"),
"expected top row to start with 'Working': {top:?}"
);
assert!(
top.contains("Working"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
source: tui/src/chatwidget/tests.rs
expression: terminal.backend()
---
" Thinking (0s • esc to interrupt) "
" Thinking (0s • esc to interrupt) "
"› Ask Codex to do anything "
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ expression: term.backend().vt100().screen().contents()
└ Search Change Approved
Read diff_render.rs

Investigating rendering code (0s • esc to interrupt)
Investigating rendering code (0s • esc to interrupt)


› Summarize recent commits
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests.rs
expression: terminal.backend()
---
" "
" Analyzing (0s • esc to interrupt) "
" Analyzing (0s • esc to interrupt) "
" "
" "
"› Ask Codex to do anything "
Expand Down
2 changes: 1 addition & 1 deletion codex-rs/tui/src/diff_render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fn render_changes_block(rows: Vec<Row>, wrap_cols: usize, cwd: &Path) -> Vec<RtL
let total_removed: usize = rows.iter().map(|r| r.removed).sum();
let file_count = rows.len();
let noun = if file_count == 1 { "file" } else { "files" };
let mut header_spans: Vec<RtSpan<'static>> = vec!["• ".into()];
let mut header_spans: Vec<RtSpan<'static>> = vec!["• ".dim()];
if let [row] = &rows[..] {
let verb = match &row.change {
FileChange::Add { .. } => "Added",
Expand Down
2 changes: 1 addition & 1 deletion codex-rs/tui/src/history_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ impl HistoryCell for PlanUpdateCell {
indented_lines.extend(render_step(status, step));
}
}
lines.extend(prefix_lines(indented_lines, " └ ".into(), " ".into()));
lines.extend(prefix_lines(indented_lines, " └ ".dim(), " ".into()));

lines
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
source: tui/src/status_indicator_widget.rs
expression: terminal.backend()
---
" Working (0s • esc "
" Working (0s • esc "
" "
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
source: tui/src/status_indicator_widget.rs
expression: terminal.backend()
---
" Working (0s • esc to interrupt) "
" Working (0s • esc to interrupt) "
" "
" ↳ first "
" ↳ second "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
source: tui/src/status_indicator_widget.rs
expression: terminal.backend()
---
" Working (0s • esc to interrupt) "
" Working (0s • esc to interrupt) "
" "
2 changes: 1 addition & 1 deletion codex-rs/tui/src/status_indicator_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl WidgetRef for StatusIndicatorWidget {
let pretty_elapsed = fmt_elapsed_compact(elapsed);

// Plain rendering: no borders or padding so the live cell is visually indistinguishable from terminal scrollback.
let mut spans = vec![" ".into()];
let mut spans = vec!["• ".dim()];
spans.extend(shimmer_spans(&self.header));
spans.extend(vec![
" ".into(),
Expand Down
Loading