fix: minor fix

This commit is contained in:
utox39
2025-09-12 02:41:20 +02:00
parent 837b7cd5c4
commit 2b32119bc7
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ pub fn getTerminalSize() !TermSize {
}
test "getTerminalSize" {
const terminal_size = try getTerminalSize() catch TermSize{ 50, 50 };
const terminal_size = getTerminalSize() catch TermSize{ .height = 50, .width = 50 };
std.debug.print("Height: {}, Width {}\n", .{ terminal_size.height, terminal_size.width });