diff options
Diffstat (limited to 'vendor/libghostty-vt/src/terminal/search/active.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/terminal/search/active.zig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/libghostty-vt/src/terminal/search/active.zig b/vendor/libghostty-vt/src/terminal/search/active.zig index b99b2357..b37f46d2 100644 --- a/vendor/libghostty-vt/src/terminal/search/active.zig +++ b/vendor/libghostty-vt/src/terminal/search/active.zig @@ -103,7 +103,8 @@ pub const ActiveSearch = struct { test "simple search" { const alloc = testing.allocator; - var t: Terminal = try .init(alloc, .{ .cols = 10, .rows = 10 }); + const io = testing.io; + var t: Terminal = try .init(io, alloc, .{ .cols = 10, .rows = 10 }); defer t.deinit(alloc); var s = t.vtStream(); @@ -143,7 +144,8 @@ test "simple search" { test "clear screen and search" { const alloc = testing.allocator; - var t: Terminal = try .init(alloc, .{ .cols = 10, .rows = 10 }); + const io = testing.io; + var t: Terminal = try .init(io, alloc, .{ .cols = 10, .rows = 10 }); defer t.deinit(alloc); var s = t.vtStream(); |
