Skip to content

Commit

Permalink
feat(font): allow case insensitive matching
Browse files Browse the repository at this point in the history
resolves #6052
  • Loading branch information
JanDeDobbeleer committed Jan 3, 2025
1 parent 07f29e5 commit 873d140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 873d140

Please sign in to comment.