From 425c86179791cd32e2d4ce0ae7f269940b4b0663 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 10 Sep 2026 21:51:57 +0300 Subject: chore: upgrade libghostty and preserve terminal behavior (#3906) --- vendor/libghostty-vt/src/main.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'vendor/libghostty-vt/src/main.zig') diff --git a/vendor/libghostty-vt/src/main.zig b/vendor/libghostty-vt/src/main.zig index b08e63dd..fe41640a 100644 --- a/vendor/libghostty-vt/src/main.zig +++ b/vendor/libghostty-vt/src/main.zig @@ -21,6 +21,18 @@ pub const std_options: std.Options = if (@hasDecl(entrypoint, "std_options")) else .{}; +comptime { + // Force-reference our memset override so its export is emitted. + // See quirks_memset.zig for details on why this exists. + _ = @import("quirks_memset.zig"); +} + test { + // Zig 0.16.0 has made test logging more strict. Now, *anything* that gets + // printed to stderr results in a "failed command" message, even if the + // tests ultimately passed. To reduce confusion here (and honestly, test + // log spam in general), we bump the default testing log level to error. + std.testing.log_level = std.log.Level.err; _ = entrypoint; + _ = @import("quirks_memset.zig"); } -- cgit v1.2.3