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/renderer/link.zig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'vendor/libghostty-vt/src/renderer/link.zig') diff --git a/vendor/libghostty-vt/src/renderer/link.zig b/vendor/libghostty-vt/src/renderer/link.zig index 11ecc87a..dfc6fe67 100644 --- a/vendor/libghostty-vt/src/renderer/link.zig +++ b/vendor/libghostty-vt/src/renderer/link.zig @@ -148,7 +148,7 @@ test "renderCellMap" { const testing = std.testing; const alloc = testing.allocator; - var t: terminal.Terminal = try .init(alloc, .{ + var t: terminal.Terminal = try .init(testing.io, alloc, .{ .cols = 5, .rows = 3, }); @@ -201,7 +201,7 @@ test "renderCellMap hover links" { const testing = std.testing; const alloc = testing.allocator; - var t: terminal.Terminal = try .init(alloc, .{ + var t: terminal.Terminal = try .init(testing.io, alloc, .{ .cols = 5, .rows = 3, }); @@ -278,8 +278,9 @@ test "renderCellMap hover links" { test "renderCellMap inactive links don't allocate" { const testing = std.testing; const alloc = testing.allocator; + const io = testing.io; - var t: terminal.Terminal = try .init(alloc, .{ + var t: terminal.Terminal = try .init(io, alloc, .{ .cols = 5, .rows = 3, }); @@ -338,7 +339,7 @@ test "renderCellMap mods no match" { const testing = std.testing; const alloc = testing.allocator; - var t: terminal.Terminal = try .init(alloc, .{ + var t: terminal.Terminal = try .init(testing.io, alloc, .{ .cols = 5, .rows = 3, }); -- cgit v1.2.3