blob: 4124db8b98f561c9115fbc958fc1f12172093cff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package main
import (
"fmt"
"os"
"github.com/ChausseBenjamin/golorpicker/internal/slider"
"github.com/charmbracelet/bubbles/progress"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
m := slider.New("Red", 128, 255, progress.WithSolidFill("#ff0000"))
if _, err := tea.NewProgram(m).Run(); err != nil {
fmt.Println(err.Error())
os.Exit(1)
}
}
|