docs(spinner): correct comment about internal ID (#171)

This commit is contained in:
vzvu3k6k 2022-06-21 22:17:48 +09:00 committed by GitHub
parent 658a4febc7
commit 4d0a0ea9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,8 @@ import (
"github.com/charmbracelet/lipgloss"
)
// Internal ID management for text inputs. Necessary for blink integrity when
// multiple text inputs are involved.
// Internal ID management. Used during animating to ensure that frame messages
// are received only by spinner components that sent them.
var (
lastID int
idMtx sync.Mutex