Fixed the iterator

This commit is contained in:
2026-04-16 16:10:44 -05:00
parent 0860576509
commit 3ee8f9b908
2 changed files with 93 additions and 49 deletions
+2
View File
@@ -22,6 +22,8 @@ pub const DoubleBuffer = struct {
pub fn init(gpa: Allocator, size: Rect) !DoubleBuffer {
const display = try gpa.alloc(Cell, size.area());
errdefer gpa.free(display);
const write = try gpa.alloc(Cell, size.area());
return .{