From dd57b316b0e310bbe11861d557377172c3d30468 Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Fri, 22 Jun 2018 20:48:50 -0400 Subject: [PATCH] Fix incorrect color in the SparkLine demo. --- widgets/sparkline/sparklinedemo/sparklinedemo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/sparkline/sparklinedemo/sparklinedemo.go b/widgets/sparkline/sparklinedemo/sparklinedemo.go index a1c1c35..be5d1e2 100644 --- a/widgets/sparkline/sparklinedemo/sparklinedemo.go +++ b/widgets/sparkline/sparklinedemo/sparklinedemo.go @@ -61,6 +61,7 @@ func main() { ctx, cancel := context.WithCancel(context.Background()) green := sparkline.New( sparkline.Label("Green SparkLine", cell.FgColor(cell.ColorBlue)), + sparkline.Color(cell.ColorGreen), ) go playSparkLine(ctx, green, 250*time.Millisecond) red := sparkline.New(