aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/benchmark/CApi.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/benchmark/CApi.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/benchmark/CApi.zig')
-rw-r--r--vendor/libghostty-vt/src/benchmark/CApi.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/libghostty-vt/src/benchmark/CApi.zig b/vendor/libghostty-vt/src/benchmark/CApi.zig
index 3bef8b26..c9840671 100644
--- a/vendor/libghostty-vt/src/benchmark/CApi.zig
+++ b/vendor/libghostty-vt/src/benchmark/CApi.zig
@@ -1,6 +1,6 @@
const std = @import("std");
const cli = @import("cli.zig");
-const state = &@import("../global.zig").state;
+const global = @import("../global.zig");
const log = std.log.scoped(.benchmark);
@@ -19,7 +19,7 @@ export fn ghostty_benchmark_cli(
};
cli.mainAction(
- state.alloc,
+ global.alloc(),
action,
.{ .string = std.mem.sliceTo(args, 0) },
) catch |err| {