mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
parent
4213be5190
commit
4f9875a8bb
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue