From 425c86179791cd32e2d4ce0ae7f269940b4b0663 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 10 Sep 2026 21:51:57 +0300 Subject: chore: upgrade libghostty and preserve terminal behavior (#3906) --- vendor/libghostty-vt/src/font/Atlas.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/libghostty-vt/src/font/Atlas.zig') 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); -- cgit v1.2.3