diff --git a/src/font/cli.go b/src/font/cli.go index 133c1bdf..02cb48b1 100644 --- a/src/font/cli.go +++ b/src/font/cli.go @@ -166,6 +166,9 @@ func (m *main) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, tea.Quit case "enter": + if len(m.fontname) != 0 { + return m, nil + } var font *Asset var ok bool if font, ok = m.list.SelectedItem().(*Asset); !ok {