We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab08fb commit 1bdd4c6Copy full SHA for 1bdd4c6
stopwatch/stopwatch.go
@@ -75,7 +75,7 @@ func (m Model) Init() tea.Cmd {
75
76
// Start starts the stopwatch.
77
func (m Model) Start() tea.Cmd {
78
- return tea.Batch(func() tea.Msg {
+ return tea.Sequence(func() tea.Msg {
79
return StartStopMsg{ID: m.id, running: true}
80
}, tick(m.id, m.tag, m.Interval))
81
}
0 commit comments