mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-25 13:48:50 +08:00
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…
x
Reference in New Issue
Block a user