aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/renderer/link.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/renderer/link.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/renderer/link.zig')
-rw-r--r--vendor/libghostty-vt/src/renderer/link.zig9
1 files changed, 5 insertions, 4 deletions
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,
});