summaryrefslogtreecommitdiff
path: root/internal/slider/slider.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 02:08:56 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 02:08:56 -0500
commit4297cde9a75ae43affa00d6dd5fed437b8de2a80 (patch)
treec354df8fd3dccdb8a7e30bc43337ab59ad2e546c /internal/slider/slider.go
parentc8bcf5289f1b6c364f6f0237b1bf4ccad4e1dcd2 (diff)
Rename go module and update Go version
Diffstat (limited to 'internal/slider/slider.go')
-rw-r--r--internal/slider/slider.go2
1 files changed, 1 insertions, 1 deletions
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) {