diff --git a/stopwatch/stopwatch.go b/stopwatch/stopwatch.go index e5d5f63..891a4c5 100644 --- a/stopwatch/stopwatch.go +++ b/stopwatch/stopwatch.go @@ -75,7 +75,7 @@ func (m Model) Init() tea.Cmd { // Start starts the stopwatch. func (m Model) Start() tea.Cmd { - return tea.Batch(func() tea.Msg { + return tea.Sequence(func() tea.Msg { return StartStopMsg{ID: m.id, running: true} }, tick(m.id, m.tag, m.Interval)) }