mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
deinit buffer
This commit is contained in:

committed by
Jonathan Lopez

parent
02b34f44f6
commit
dfd778522a
@ -22,9 +22,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