From dedfdea43f0d6c7151c541284c81027969d89032 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 10 Aug 2026 20:38:37 -0300 Subject: ghostty: bump pin to 82e53e3f and fix tab/virtual-column vt handling - build.zig.zon: bump ghostty ba38b493 -> 82e53e3f (translate-c backport, fixes 404 on cold cache), update hash - src/pardes.zig: adapt Terminal.init/resize to new std.Io signatures; fix display-column conversion for tabs and clicks past EOL (fileRawDisplayCol/fileRawAtDisplay) - test/e2e_harness.zig: adapt to new ghostty_vt signatures - snap suite 86/86 green --- test/e2e_harness.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/e2e_harness.zig b/test/e2e_harness.zig index c188827e..2e87d362 100644 --- a/test/e2e_harness.zig +++ b/test/e2e_harness.zig @@ -96,7 +96,7 @@ pub const Harness = struct { } const term = try gpa.create(ghostty_vt.Terminal); errdefer gpa.destroy(term); - term.* = try ghostty_vt.Terminal.init(gpa, .{ + term.* = try ghostty_vt.Terminal.init(std.Io.Threaded.global_single_threaded.io(), gpa, .{ .cols = cols, .rows = rows, .max_scrollback = 1024 * 1024, @@ -194,7 +194,7 @@ pub const Harness = struct { pub fn resize(self: *Harness, rows: u16, cols: u16) !void { self.rows = rows; self.cols = cols; - self.term.resize(self.gpa, cols, rows) catch {}; + self.term.resize(self.gpa, .{ .cols = cols, .rows = rows }) catch {}; const ws = posix.winsize{ .row = rows, .col = cols, .xpixel = 0, .ypixel = 0 }; _ = posix.system.ioctl(self.master, TIOCSWINSZ, @intFromPtr(&ws)); } -- cgit v1.3