mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
Merge remote-tracking branch 'upstream/main' into grapheme-width-changes
This commit is contained in:
@@ -50,7 +50,10 @@ pub fn main() !void {
|
||||
var buf: [4096]u8 = undefined;
|
||||
var stdout = std.fs.File.stdout().writer(&buf);
|
||||
try t.writeZig(&stdout.interface);
|
||||
try stdout.end();
|
||||
// Use flush instead of end because stdout is a pipe when captured by
|
||||
// the build system, and pipes cannot be truncated (Windows returns
|
||||
// INVALID_PARAMETER, Linux returns EINVAL).
|
||||
try stdout.interface.flush();
|
||||
|
||||
// Uncomment when manually debugging to see our table sizes.
|
||||
// std.log.warn("stage1={} stage2={} stage3={}", .{
|
||||
|
||||
@@ -34,7 +34,10 @@ pub fn main() !void {
|
||||
var buf: [4096]u8 = undefined;
|
||||
var stdout = std.fs.File.stdout().writer(&buf);
|
||||
try t.writeZig(&stdout.interface);
|
||||
try stdout.end();
|
||||
// Use flush instead of end because stdout is a pipe when captured by
|
||||
// the build system, and pipes cannot be truncated (Windows returns
|
||||
// INVALID_PARAMETER, Linux returns EINVAL).
|
||||
try stdout.interface.flush();
|
||||
|
||||
// Uncomment when manually debugging to see our table sizes.
|
||||
// std.log.warn("stage1={} stage2={} stage3={}", .{
|
||||
|
||||
Reference in New Issue
Block a user