summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-10 20:38:37 -0300
committerGabriel Schneider <[email protected]>2026-08-10 21:41:42 -0300
commitdedfdea43f0d6c7151c541284c81027969d89032 (patch)
treec13109a17550ab76cd73d00eaf9469cbb756dfaf /test
parent38e9919a9ea9055538409b388d580c4e4c838434 (diff)
downloadpardes-dedfdea43f0d6c7151c541284c81027969d89032.tar.gz
pardes-dedfdea43f0d6c7151c541284c81027969d89032.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/e2e_harness.zig4
1 files changed, 2 insertions, 2 deletions
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));
}