config: increase eval branches for new configs

This commit is contained in:
Mitchell Hashimoto
2023-09-30 20:15:07 -07:00
parent 604eeceb03
commit 8cb96a28c1

View File

@ -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);
} }