mirror of https://github.com/mum4k/termdash.git
Fix incorrect color in the SparkLine demo.
This commit is contained in:
parent
35f2672cae
commit
dd57b316b0
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue