Skip to content

Commit

Permalink
fix: set rendering mode for rain
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Sep 12, 2024
1 parent 8994f31 commit eca065a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ fn printCells(core: *Core, handler: *Handler, rand: std.rand.Random) !void {
}
},
.rain => {
core.setRendering(true);
// init columns
if (core.columns.?.items.len != core.width) {
for (0..@intCast(core.width)) |_| {
Expand Down

0 comments on commit eca065a

Please sign in to comment.