File: src/screen.zig:510-525
Severity: HIGH
Status: ✅ FIXED
When Screen.resize reduced grid height, lines popped off the bottom of the grid were deallocated without decrementing sixel refcounts for cells in those lines.
Grid height truncation lacked eviction callbacks to Screen.decrementLineRefs.
Added on_line_evict callback mechanism to Grid which notifies Screen.screenEvictCallback to decrement sixel refcounts whenever lines are evicted or truncated.