From 1ed295ebfef5f9fd0886e27096c00d4ff6c5d6ca Mon Sep 17 00:00:00 2001 From: xcaeser Date: Sat, 23 Aug 2025 23:44:18 +0000 Subject: [PATCH] Fix: Add newline to spinner output for better readability --- src/cli/root.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/root.zig b/src/cli/root.zig index 2106ef5..95a42ab 100644 --- a/src/cli/root.zig +++ b/src/cli/root.zig @@ -67,7 +67,7 @@ fn run(ctx: zli.CommandContext) !void { const spinner = ctx.spinner; - try spinner.print("Config: https={}, upload={}, json={}, max_duration={}s", .{ + try spinner.print("Config: https={}, upload={}, json={}, max_duration={}s\n", .{ use_https, check_upload, json_output, max_duration, }); @@ -87,9 +87,9 @@ fn run(ctx: zli.CommandContext) !void { return; }; - try spinner.print("Got {} URLs", .{urls.len}); + try spinner.print("Got {} URLs\n", .{urls.len}); for (urls) |url| { - try spinner.print("URL: {s}", .{url}); + try spinner.print("URL: {s}\n", .{url}); } // Measure latency first