style: use ◉ symbol for token count in timing footer

Changes '227tk | 48% ctx' to '227 ◉ | 48%' for a cleaner look.
This commit is contained in:
Dhanji R. Prasanna
2025-12-25 18:40:17 +11:00
parent d09c80180e
commit 258f9878ff
2 changed files with 3 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ impl UiWriter for ConsoleUiWriter {
"" ""
}; };
println!("└─ ⚡️ {}{}\x1b[0m \x1b[2m{}tk | {:.0}% ctx\x1b[0m", color_code, duration_str, tokens_delta, context_percentage); println!("└─ ⚡️ {}{}\x1b[0m \x1b[2m{} | {:.0}%\x1b[0m", color_code, duration_str, tokens_delta, context_percentage);
println!(); println!();
// Clear the stored tool info // Clear the stored tool info
*self.current_tool_name.lock().unwrap() = None; *self.current_tool_name.lock().unwrap() = None;

View File

@@ -6583,9 +6583,9 @@ impl<W: UiWriter> Agent<W> {
// Add token usage info if available (dimmed) // Add token usage info if available (dimmed)
if let Some(tokens) = turn_tokens { if let Some(tokens) = turn_tokens {
format!("{} \x1b[2m{}tk | {:.0}% ctx\x1b[0m", timing, tokens, context_percentage) format!("{} \x1b[2m{} | {:.0}%\x1b[0m", timing, tokens, context_percentage)
} else { } else {
format!("{} \x1b[2m{:.0}% ctx\x1b[0m", timing, context_percentage) format!("{} \x1b[2m{:.0}%\x1b[0m", timing, context_percentage)
} }
} }
} }