mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
parent
ea5750f44b
commit
12a732d63a
|
@ -231,6 +231,10 @@ func (m *main) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
return m, cmd
|
||||
}
|
||||
|
||||
if m.list == nil {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
lst, cmd := m.list.Update(msg)
|
||||
m.list = &lst
|
||||
return m, cmd
|
||||
|
|
Loading…
Reference in a new issue