feat: add missing flush
This commit is contained in:
@@ -113,6 +113,7 @@ pub fn main() !u8 {
|
|||||||
var stdout_writer = std.fs.File.stdout().writer(&stdout_buffer);
|
var stdout_writer = std.fs.File.stdout().writer(&stdout_buffer);
|
||||||
const stdout = &stdout_writer.interface;
|
const stdout = &stdout_writer.interface;
|
||||||
_ = try stdout.write(try std.fmt.allocPrint(allocator, "{d}\n", .{selected_app.id}));
|
_ = try stdout.write(try std.fmt.allocPrint(allocator, "{d}\n", .{selected_app.id}));
|
||||||
|
try stdout.flush();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user