summaryrefslogtreecommitdiff
path: root/test/hxdiff.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-27 00:34:10 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit950a616e45f76349c3f029e6032cce7cadc2b4e3 (patch)
tree595b04e4863e2b62214223afc77244d6ef9987c4 /test/hxdiff.zig
parenta1f26fc4977b185cbd603749157360c011452e5e (diff)
downloadpardes-950a616e45f76349c3f029e6032cce7cadc2b4e3.tar.gz
pardes-950a616e45f76349c3f029e6032cce7cadc2b4e3.zip
silence library std.log: ghostty-vt's unimplemented-sequence chatter was painting over the UI
Diffstat (limited to 'test/hxdiff.zig')
-rw-r--r--test/hxdiff.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/hxdiff.zig b/test/hxdiff.zig
index dc901263..b04cc0b5 100644
--- a/test/hxdiff.zig
+++ b/test/hxdiff.zig
@@ -49,6 +49,12 @@ const std = @import("std");
const libc = std.c;
const pardes = @import("pardes");
+// Its own root, so src/main.zig's logFn does not apply here: the core it
+// drives feeds every case's text through ghostty-vt, which narrates each
+// sequence it does not implement. Cut the libraries back to errors; the
+// per-case report goes through std.debug, so a mismatch stays loud.
+pub const std_options: std.Options = .{ .log_level = .err };
+
const gpa = std.heap.page_allocator;
pub fn main(init: std.process.Init) !void {