From 43659903969d835a79d096bba793d5154dbf1ab3 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Tue, 1 Jun 2021 16:30:33 -0400 Subject: [PATCH] Fix typo in a spinner comment --- spinner/spinner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spinner/spinner.go b/spinner/spinner.go index 0311f99..5a2c806 100644 --- a/spinner/spinner.go +++ b/spinner/spinner.go @@ -188,10 +188,9 @@ type TickMsg struct { func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { switch msg := msg.(type) { case TickMsg: - // If a tag is set, and it's not the one we expect, reject the message. // This prevents the spinner from receiving too many messages and - // this spinning too fast. + // thus spinning too fast. if msg.tag > 0 && msg.tag != m.tag { return m, nil }