aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/font/Atlas.zig
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 21:51:57 +0300
committerGitHub <noreply@github.com>2026-09-10 21:51:57 +0300
commit425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch)
treee52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/font/Atlas.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/font/Atlas.zig')
-rw-r--r--vendor/libghostty-vt/src/font/Atlas.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/libghostty-vt/src/font/Atlas.zig b/vendor/libghostty-vt/src/font/Atlas.zig
index d1206457..66e91c8f 100644
--- a/vendor/libghostty-vt/src/font/Atlas.zig
+++ b/vendor/libghostty-vt/src/font/Atlas.zig
@@ -32,7 +32,7 @@ data: []u8,
size: u32 = 0,
/// The nodes (rectangles) of available space.
-nodes: std.ArrayListUnmanaged(Node) = .{},
+nodes: std.ArrayList(Node) = .empty,
/// The format of the texture data being written into the Atlas. This must be
/// uniform for all textures in the Atlas. If you have some textures with
@@ -104,7 +104,7 @@ pub fn init(alloc: Allocator, size: u32, format: Format) Allocator.Error!Atlas {
var result = Atlas{
.data = try alloc.alloc(u8, size * size * format.depth()),
.size = size,
- .nodes = .{},
+ .nodes = .empty,
.format = format,
};
errdefer result.deinit(alloc);