fix: release mode undefined usage (for optionals); bump to 0.14.dev
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 54s

This commit is contained in:
2024-11-19 23:27:12 +01:00
parent f4adf53067
commit 6cd78d0418
16 changed files with 206 additions and 71 deletions

View File

@@ -20,7 +20,7 @@ pub const ReportMode = enum {
pub fn getTerminalSize() Size {
var ws: std.posix.winsize = undefined;
_ = std.posix.system.ioctl(std.posix.STDIN_FILENO, std.posix.T.IOCGWINSZ, @intFromPtr(&ws));
return .{ .cols = ws.ws_col, .rows = ws.ws_row };
return .{ .cols = ws.col, .rows = ws.row };
}
pub fn saveScreen() !void {