mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
Zig 0.15: zig build test
This commit is contained in:
@@ -30,7 +30,9 @@ pub fn run(alloc: Allocator) !u8 {
|
||||
try args.parse(Options, alloc, &opts, &iter);
|
||||
}
|
||||
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
var buffer: [2048]u8 = undefined;
|
||||
var stdout_writer = std.fs.File.stdout().writer(&buffer);
|
||||
const stdout = &stdout_writer.interface;
|
||||
try stdout.writeAll(
|
||||
\\Usage: ghostty [+action] [options]
|
||||
\\
|
||||
@@ -70,6 +72,7 @@ pub fn run(alloc: Allocator) !u8 {
|
||||
\\where `<action>` is one of actions listed above.
|
||||
\\
|
||||
);
|
||||
try stdout.flush();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user