fix: stopwatch.Start() (#707)

Signed-off-by: Bence Vidosits <bence.vidosits1@ibm.com>
Co-authored-by: Bence Vidosits <bence.vidosits1@ibm.com>
This commit is contained in:
Bisons Evicted
2025-01-22 09:10:20 -03:00
committed by GitHub
co-authored by Bence Vidosits
parent 7ab08fb438
commit 1bdd4c6fb3
+1 -1
View File
@@ -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))
}