Versions in this module Expand all Collapse all v0 v0.4.2 Nov 13, 2024 Changes in this version + func Tick(ctx context.Context, wait time.Duration) tea.Cmd + type Conway struct + Pattern *pattern.Pattern + ResumeOnFocus bool + func NewConway(conf *config.Config) *Conway + func (c *Conway) Clear() + func (c *Conway) Init() tea.Cmd + func (c *Conway) Pause() + func (c *Conway) Play() tea.Cmd + func (c *Conway) RenderStats() string + func (c *Conway) Reset() + func (c *Conway) ResetView() + func (c *Conway) Scroll(d Direction, speed int) + func (c *Conway) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (c *Conway) View() string + type Direction uint8 + const DirDown + const DirLeft + const DirRight + const DirUp + type Mode uint8 + const ModeErase + const ModePlace + const ModeSmart