a73x

c0814a64

Restore stdin wait in --hidden-freeze-regression

a73x   2026-04-16 19:00

Commit message
Restore stdin wait in --hidden-freeze-regression

Addresses spec-review deviation: the mode should block on stdin until
the operator presses enter before spawning the waystty window, so
instructions stay visible during reading. Zig 0.15.x API:
std.fs.File.stdin().read(&buf).

Follow-up to fa7b59b.

src/main.zig
Old New
@@ -3387,5 +3387,9 @@ fn runHiddenFreezeRegression(alloc: std.mem.Allocator) !void {
3387 \\ 3387 \\
3388 ); 3388 );
3389 3389
3390 var stdin_file = std.fs.File.stdin();
3391 var buf: [1]u8 = undefined;
3392 _ = try stdin_file.read(&buf);
3393
3390 return runTerminal(alloc); 3394 return runTerminal(alloc);
3391 } 3395 }