From 771e377f6db9c3aed1ab85bc36a774f4176272cc Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 13 Nov 2026 10:09:48 -0300 Subject: debugger: decouple font zoom from window size and add restart --- gui/build.zig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui/build.zig') diff --git a/gui/build.zig b/gui/build.zig index 3e09631..bedba3d 100644 --- a/gui/build.zig +++ b/gui/build.zig @@ -64,4 +64,10 @@ pub fn build(b: *std.Build) void { adaptive.addFileArg(b.graph.path(.install_bin, "ztrace-gui")); adaptive.step.dependOn(b.getInstallStep()); tests.dependOn(&adaptive.step); + const restart = b.addSystemCommand(&.{"python3"}); + restart.addFileArg(b.path("test/restart.py")); + restart.addArg("--gui"); + restart.addFileArg(b.graph.path(.install_bin, "ztrace-gui")); + restart.step.dependOn(b.getInstallStep()); + tests.dependOn(&restart.step); } -- cgit v1.3