From 950a616e45f76349c3f029e6032cce7cadc2b4e3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 27 Jul 2026 00:34:10 -0300 Subject: silence library std.log: ghostty-vt's unimplemented-sequence chatter was painting over the UI --- test/snapshot.zig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/snapshot.zig') diff --git a/test/snapshot.zig b/test/snapshot.zig index 54ba0271..5417530d 100644 --- a/test/snapshot.zig +++ b/test/snapshot.zig @@ -32,6 +32,14 @@ const libc = std.c; const ghostty_vt = @import("ghostty-vt"); const eh = @import("e2e_harness.zig"); +// This harness parses the app's output with its OWN ghostty-vt, which narrates +// every sequence it does not implement — vaxis's startup capability probes +// alone cost four `debug(stream)`/`warning(stream)`/`debug(kitty_gfx)` lines +// per script, burying the PASS/FAIL report under 200 lines of chatter. Cut the +// libraries back to errors; the report itself goes through std.debug, so a +// failure stays loud either way. +pub const std_options: std.Options = .{ .log_level = .err }; + extern "c" fn setenv(name: [*:0]const u8, value: [*:0]const u8, overwrite: c_int) c_int; extern "c" fn execvp(file: [*:0]const u8, argv: [*:null]const ?[*:0]const u8) c_int; -- cgit v1.3