fix(view): zig fmt on fixes

This commit is contained in:
00JCIV00 2024-09-25 17:26:00 -04:00 committed by Tim Culverhouse
parent 0dbd72ef99
commit 94e28654f9
2 changed files with 3 additions and 2 deletions

View file

@ -175,7 +175,7 @@ pub fn main() !void {
});
if (use_mini_view) {
_ = try map_win.printSegment(
.{ .text = "This is a mini portion of the View." },
.{ .text = "This is a mini portion of the View." },
.{ .row_offset = 16, .col_offset = 5, .wrap = .word },
);
}

View file

@ -103,7 +103,8 @@ pub fn toWin(self: *View, win: Window, config: RenderConfig) !struct { usize, us
\\ Position Out of Bounds:
\\ - Pos: {d}, {d}
\\ - Size: {d}, {d}
, .{
,
.{
col, row,
self.screen.width, self.screen.height,
},