Keep duration on far right in stage completion lines

Swap cost and duration order so cost appears first and duration
stays consistently on the far right edge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-04 01:10:39 -05:00
parent aa158ef6a5
commit a71b9d0561

View file

@ -218,9 +218,9 @@ impl ProgressUI {
let cost_str = usage
.as_ref()
.and_then(compute_stage_cost)
.map(|c| format!(" {}", format_cost(c)))
.map(|c| format!("{} ", format_cost(c)))
.unwrap_or_default();
let prefix = format!("{dur}{cost_str}");
let prefix = format!("{cost_str}{dur}");
let glyph = if succeeded {
green_check()
} else {