aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/main.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/main.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/main.zig')
-rw-r--r--vendor/libghostty-vt/src/main.zig12
1 files changed, 12 insertions, 0 deletions
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");
}