mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
config: increase eval branches for new configs
This commit is contained in:
@ -86,6 +86,7 @@ export fn ghostty_config_get(
|
|||||||
key_str: [*]const u8,
|
key_str: [*]const u8,
|
||||||
len: usize,
|
len: usize,
|
||||||
) bool {
|
) bool {
|
||||||
|
@setEvalBranchQuota(10_000);
|
||||||
const key = std.meta.stringToEnum(Key, key_str[0..len]) orelse return false;
|
const key = std.meta.stringToEnum(Key, key_str[0..len]) orelse return false;
|
||||||
return c_get.get(self, key, ptr);
|
return c_get.get(self, key, ptr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user