feat: return correct model.

This commit is contained in:
CronyAkatsuki 2025-03-03 22:23:08 +01:00
parent b6c347965c
commit 118a8da1c2

View File

@ -87,8 +87,7 @@ func (g gol) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case "ctrl+c", "q":
return g, tea.Quit
case " ":
g.Life()
return g, nil
return g.Life(), nil
}
}
return g, nil