diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-12-27 02:28:11 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-12-27 02:28:11 -0500 |
commit | 858c07f0b805558b0961514200ffb822dd2248cf (patch) | |
tree | 0270faa8ed1d60174b02ce871ce1e78ae66ca074 /internal/slider | |
parent | f6bda0ee1825c43ecf17fa752cd4c9ac6dde8949 (diff) |
Force the use of TrueColor everywhere
Diffstat (limited to 'internal/slider')
-rw-r--r-- | internal/slider/slider.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/slider/slider.go b/internal/slider/slider.go index 2d47249..a6c6ee6 100644 --- a/internal/slider/slider.go +++ b/internal/slider/slider.go @@ -4,6 +4,7 @@ import ( "fmt" "github.com/ChausseBenjamin/termpicker/internal/progress" + "github.com/ChausseBenjamin/termpicker/internal/ui" "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" ) @@ -21,6 +22,7 @@ func New(label byte, maxVal int, opts ...progress.Option) Model { label: label, progress: progress.New( progress.WithoutPercentage(), + progress.WithColorProfile(ui.ColorProfile()), ), max: maxVal, current: maxVal / 2, |