From d48aa4f0bce28159b6c5ee6bd0085a7f5a82e962 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:43:07 +0100 Subject: 0.5.0: visible step counter, one client per turn, docs corrected Also fixes a 32-bit-only rlim_t mismatch found by building the target. --- src/ui.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index d7716a9..69e7aa9 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -83,7 +83,7 @@ impl Sink for Renderer { } } -pub fn tool_line(name: &str, args: &serde_json::Value) { +pub fn tool_line(step: usize, name: &str, args: &serde_json::Value) { let detail = match name { "bash" => args .get("cmd") @@ -106,7 +106,11 @@ pub fn tool_line(name: &str, args: &serde_json::Value) { .unwrap_or("") .to_string(), }; - println!("{} {}", paint("1;36", &format!("● {name}")), detail); + println!( + "{} {}", + paint("1;36", &format!("● [{step}] {name}")), + detail + ); let _ = std::io::stdout().flush(); } -- cgit v1.2.3