summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/surface.zig b/src/surface.zig
index f5afdd98..3b99f517 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -499,8 +499,7 @@ pub const Surface = struct {
cells: []Cell = &.{},
/// bar: draw an insert-style thin cursor instead of the block
cursor: ?struct { x: u16, y: u16, bar: bool = false } = null,
- images: []?ImagePlace = &.{},
- nimages: usize = 0,
+ images: std.ArrayList(ImagePlace) = .empty,
panel_tracks: [MAX_PANES * 2]animation.Track = undefined,
npanel_tracks: usize = 0,
previous_cells: []const Cell = &.{},