From 4297cde9a75ae43affa00d6dd5fed437b8de2a80 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Nov 2024 02:08:56 -0500 Subject: Rename go module and update Go version --- internal/slider/slider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/slider') diff --git a/internal/slider/slider.go b/internal/slider/slider.go index d726e7b..884d141 100644 --- a/internal/slider/slider.go +++ b/internal/slider/slider.go @@ -35,7 +35,7 @@ func New(label byte, maxVal int, opts ...progress.Option) Model { func (m Model) Title() string { return fmt.Sprintf("%c", m.label) } func (m Model) Init() tea.Cmd { - return nil + return m.progress.Init() } func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { -- cgit v1.2.3