fa7b59b5
Add --hidden-freeze-regression manual test mode
a73x 2026-04-16 18:57
Prints operator instructions and spawns a normal waystty session. The freeze fix is validated by moving the window to another workspace and back; the mode is purely for documentation and repeatable manual QA.
diff --git a/src/main.zig b/src/main.zig index fa306c8..b38824d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -91,6 +91,10 @@ pub fn main() !void { return runTextCoverageCompare(alloc); } if (args.len >= 2 and std.mem.eql(u8, args[1], "--hidden-freeze-regression")) { return runHiddenFreezeRegression(alloc); } return runTerminal(alloc); } @@ -3366,3 +3370,22 @@ fn runHeadless(alloc: std.mem.Allocator) !void { try w.flush(); } fn runHiddenFreezeRegression(alloc: std.mem.Allocator) !void { const stdout = std.fs.File.stdout(); try stdout.writeAll( \\ \\hidden-freeze regression mode \\----------------------------- \\1. This process will spawn waystty and start writing to its pty. \\2. Move the window to a different workspace. \\3. Wait 5 seconds. \\4. Move the window back. \\5. The window should be responsive and show fresh output. \\ \\Press enter to start, Ctrl-C to abort. \\ ); return runTerminal(alloc); }