mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
deinit buffer
This commit is contained in:
@ -21,9 +21,11 @@ pub fn genKeybindActions(writer: anytype) !void {
|
|||||||
);
|
);
|
||||||
|
|
||||||
@setEvalBranchQuota(5_000);
|
@setEvalBranchQuota(5_000);
|
||||||
const fields = @typeInfo(KeybindAction).Union.fields;
|
|
||||||
|
|
||||||
var buffer = std.ArrayList(u8).init(std.heap.page_allocator);
|
var buffer = std.ArrayList(u8).init(std.heap.page_allocator);
|
||||||
|
defer buffer.deinit();
|
||||||
|
|
||||||
|
const fields = @typeInfo(KeybindAction).Union.fields;
|
||||||
inline for (fields) |field| {
|
inline for (fields) |field| {
|
||||||
if (field.name[0] == '_') continue;
|
if (field.name[0] == '_') continue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user