mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-20 06:20:32 +00:00
fix: theme search ranking is now case insensitive
This commit is contained in:
@@ -293,7 +293,7 @@ const Preview = struct {
|
||||
|
||||
for (self.themes, 0..) |*theme, i| {
|
||||
theme.rank = zf.rank(theme.theme, tokens.items, .{
|
||||
.to_lower = false,
|
||||
.to_lower = true,
|
||||
.plain = true,
|
||||
});
|
||||
if (theme.rank != null) try self.filtered.append(i);
|
||||
|
||||
Reference in New Issue
Block a user