mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
update zig
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@ -194,11 +194,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1711109355,
|
||||
"narHash": "sha256-VZPO5mq2di5yjHkkY9ZGEIZaX7EtdusSkxICBAtHAec=",
|
||||
"lastModified": 1711585351,
|
||||
"narHash": "sha256-rVJ/lRPQNCjU/98SZmQUhksoZOrKajwGS1UmEMuXzss=",
|
||||
"owner": "mitchellh",
|
||||
"repo": "zig-overlay",
|
||||
"rev": "5fe52bdf2c213e47712d93c9ce12dfed4c4cef86",
|
||||
"rev": "6ac62029cf9a5fd2cec831a2dfc541f3cae63297",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -19,7 +19,8 @@ fn comptimeGenerateFishCompletions() []const u8 {
|
||||
var buf: [counter.bytes_written]u8 = undefined;
|
||||
var stream = std.io.fixedBufferStream(&buf);
|
||||
try writeFishCompletions(stream.writer());
|
||||
return stream.getWritten();
|
||||
const final = buf;
|
||||
return final[0..stream.getWritten().len];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,8 @@ fn comptimeGenSyntax() []const u8 {
|
||||
var buf: [counting_writer.bytes_written]u8 = undefined;
|
||||
var stream = std.io.fixedBufferStream(&buf);
|
||||
try writeSyntax(stream.writer());
|
||||
return stream.getWritten();
|
||||
const final = buf;
|
||||
return final[0..stream.getWritten().len];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user