fix(view): zig fmt on fixes
This commit is contained in:
parent
0dbd72ef99
commit
94e28654f9
2 changed files with 3 additions and 2 deletions
|
@ -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 },
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue