From 4d0a0ea9d84acd87aa1d17c56929df0ad9f593a9 Mon Sep 17 00:00:00 2001 From: vzvu3k6k Date: Tue, 21 Jun 2022 22:17:48 +0900 Subject: [PATCH] docs(spinner): correct comment about internal ID (#171) --- spinner/spinner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinner/spinner.go b/spinner/spinner.go index d08b3d1..ced6b1f 100644 --- a/spinner/spinner.go +++ b/spinner/spinner.go @@ -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