diff --git a/example/cat/main.zig b/example/cat/main.zig index e7971d92a0..97e04b6eae 100644 --- a/example/cat/main.zig +++ b/example/cat/main.zig @@ -27,6 +27,7 @@ pub fn main(args: [][]u8) -> %void { if (!catted_anything) { cat_stream(io.stdin) %% |err| return err; } + io.stdout.flush() %% |err| return err; } fn usage(exe: []u8) -> %void {