From 2b5b8624d6f2c1eb79574c88b613c64c131986f2 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Wed, 16 Nov 2022 20:27:45 -0500 Subject: [PATCH] fix: use non-deprecated spinner tick command in list --- list/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list/list.go b/list/list.go index bb4b3f0..68d0f27 100644 --- a/list/list.go +++ b/list/list.go @@ -569,7 +569,7 @@ func (m *Model) ToggleSpinner() tea.Cmd { // StartSpinner starts the spinner. Note that this returns a command. func (m *Model) StartSpinner() tea.Cmd { m.showSpinner = true - return spinner.Tick + return m.spinner.Tick } // StopSpinner stops the spinner.