mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-17 13:02:42 +00:00
config: allow booleans for background-blur-radius
This commit is contained in:
committed by
Mitchell Hashimoto
parent
cd90821b93
commit
f2c357a209
@@ -533,7 +533,7 @@ fn parsePackedStruct(comptime T: type, v: []const u8) !T {
|
||||
return result;
|
||||
}
|
||||
|
||||
fn parseBool(v: []const u8) !bool {
|
||||
pub fn parseBool(v: []const u8) !bool {
|
||||
const t = &[_][]const u8{ "1", "t", "T", "true" };
|
||||
const f = &[_][]const u8{ "0", "f", "F", "false" };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user