Grid.clone()Grid.clone()File: src/grid.zig:310–330
Severity: CRITICAL
Status: ✅ FIXED
copy.history is allocated with active items (items.len - history_start), but copy.history_start is copied directly from self.history_start.
Impact: Any call to copy.historyLen() calculates items.len - history_start, causing an integer underflow panic.
Fix: Explicitly set copy.history_start = 0 in Grid.clone.