From e5894c1404333560596f5abd453dea1b699bdd7a Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 11 Dec 2025 19:50:10 +0100 Subject: [PATCH] refactor: tweak style in keybindview and inputview --- src/tui/inputview.zig | 4 ++-- src/tui/keybindview.zig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tui/inputview.zig b/src/tui/inputview.zig index d6d87c5..00e2b55 100644 --- a/src/tui/inputview.zig +++ b/src/tui/inputview.zig @@ -83,10 +83,10 @@ fn output_tdiff(self: *Self, tdiff: i64) !void { if (msi == 0) { const d: f64 = @floatFromInt(tdiff); const ms = d / time.us_per_ms; - _ = try self.plane.print("{d:6.2}▎", .{ms}); + _ = try self.plane.print("{d:6.2} ▏", .{ms}); } else { const ms: u64 = @intCast(msi); - _ = try self.plane.print("{d:6}▎", .{ms}); + _ = try self.plane.print("{d:6} ▏", .{ms}); } } diff --git a/src/tui/keybindview.zig b/src/tui/keybindview.zig index df8aaea..339d7c2 100644 --- a/src/tui/keybindview.zig +++ b/src/tui/keybindview.zig @@ -83,10 +83,10 @@ fn output_tdiff(self: *Self, tdiff: i64) !void { if (msi == 0) { const d: f64 = @floatFromInt(tdiff); const ms = d / time.us_per_ms; - _ = try self.plane.print("{d:6.2}▎", .{ms}); + _ = try self.plane.print("{d:6.2} ▏", .{ms}); } else { const ms: u64 = @intCast(msi); - _ = try self.plane.print("{d:6}▎", .{ms}); + _ = try self.plane.print("{d:6} ▏", .{ms}); } }