a modern tui library written in zig

Vaxis: make render independent of resize

authored by Nguyễn Gia Phong and committed by rockorager.dev 7b64d572 6572093e

verified
Changed files
+3 -3
src
+2 -2
src/InternalScreen.zig
··· 36 36 } 37 37 }; 38 38 39 - arena: *std.heap.ArenaAllocator = undefined, 39 + arena: *std.heap.ArenaAllocator, 40 40 width: u16 = 0, 41 41 height: u16 = 0, 42 42 43 - buf: []InternalCell = undefined, 43 + buf: []InternalCell, 44 44 45 45 cursor_row: u16 = 0, 46 46 cursor_col: u16 = 0,
+1 -1
src/Vaxis.zig
··· 108 108 return .{ 109 109 .opts = opts, 110 110 .screen = .{}, 111 - .screen_last = try .init(alloc, 80, 24), 111 + .screen_last = try .init(alloc, 0, 0), 112 112 .unicode = try Unicode.init(alloc), 113 113 }; 114 114 }