refactor: tweak style in keybindview and inputview
This commit is contained in:
parent
94d75a230b
commit
e5894c1404
2 changed files with 4 additions and 4 deletions
|
|
@ -83,10 +83,10 @@ fn output_tdiff(self: *Self, tdiff: i64) !void {
|
||||||
if (msi == 0) {
|
if (msi == 0) {
|
||||||
const d: f64 = @floatFromInt(tdiff);
|
const d: f64 = @floatFromInt(tdiff);
|
||||||
const ms = d / time.us_per_ms;
|
const ms = d / time.us_per_ms;
|
||||||
_ = try self.plane.print("{d:6.2}▎", .{ms});
|
_ = try self.plane.print("{d:6.2} ▏", .{ms});
|
||||||
} else {
|
} else {
|
||||||
const ms: u64 = @intCast(msi);
|
const ms: u64 = @intCast(msi);
|
||||||
_ = try self.plane.print("{d:6}▎", .{ms});
|
_ = try self.plane.print("{d:6} ▏", .{ms});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,10 +83,10 @@ fn output_tdiff(self: *Self, tdiff: i64) !void {
|
||||||
if (msi == 0) {
|
if (msi == 0) {
|
||||||
const d: f64 = @floatFromInt(tdiff);
|
const d: f64 = @floatFromInt(tdiff);
|
||||||
const ms = d / time.us_per_ms;
|
const ms = d / time.us_per_ms;
|
||||||
_ = try self.plane.print("{d:6.2}▎", .{ms});
|
_ = try self.plane.print("{d:6.2} ▏", .{ms});
|
||||||
} else {
|
} else {
|
||||||
const ms: u64 = @intCast(msi);
|
const ms: u64 = @intCast(msi);
|
||||||
_ = try self.plane.print("{d:6}▎", .{ms});
|
_ = try self.plane.print("{d:6} ▏", .{ms});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue