feat(font): allow case insensitive matching

resolves #6052
This commit is contained in:
Jan De Dobbeleer 2024-12-23 17:13:08 +01:00 committed by Jan De Dobbeleer
parent 07f29e5963
commit 873d140970

View file

@ -157,7 +157,7 @@ func (m *main) Init() tea.Cmd {
var fontAsset *Asset
for _, font := range fonts {
if m.URL != font.Name {
if !strings.EqualFold(m.URL, font.Name) {
continue
}