aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/terminal/search/active.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/terminal/search/active.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/terminal/search/active.zig')
-rw-r--r--vendor/libghostty-vt/src/terminal/search/active.zig6
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();