aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/renderer/link.zig
diff options
context:
space:
mode:
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,
});