mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 22:07:25 -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
|
return m, tea.Quit
|
||||||
|
|
||||||
case "enter":
|
case "enter":
|
||||||
|
if len(m.fontname) != 0 {
|
||||||
|
return m, nil
|
||||||
|
}
|
||||||
var font *Asset
|
var font *Asset
|
||||||
var ok bool
|
var ok bool
|
||||||
if font, ok = m.list.SelectedItem().(*Asset); !ok {
|
if font, ok = m.list.SelectedItem().(*Asset); !ok {
|
||||||
|
|
Loading…
Reference in a new issue