screenshot

Former-commit-id: 3187d6708e37bc0bd0ac1cf25812c9f707bac2d0 [formerly 623c0be612]
Former-commit-id: 2eecf5d866147a2ee55fea3071c4281b1d36eba1
pull/15/head
Miguel Mota 6 years ago
parent 063fea92f5
commit fa89b4d0ad

@ -2,6 +2,10 @@
> Coin tracking for hackers
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/miguelmota/cointop/master/LICENSE.md) [![Go Report Card](https://goreportcard.com/badge/github.com/miguelmota/cointop?)](https://goreportcard.com/report/github.com/miguelmota/cointop) [![GoDoc](https://godoc.org/github.com/miguelmota/cointop?status.svg)](https://godoc.org/github.com/miguelmota/cointop)
<img src="./assets/screenshot.gif" width="750" />
## Install
Make sure to have [golang](https://golang.org/) installed, then do:

@ -0,0 +1 @@
25df6680c43decb4b0c347ee171f02f8c498725e

@ -250,16 +250,18 @@ func (ct *Cointop) sort(sortby string, desc bool) func(g *gocui.Gui, v *gocui.Vi
ct.setTable()
return nil
})
g.Update(func(g *gocui.Gui) error {
ct.chartview.Clear()
maxX, _ := g.Size()
_, cy := ct.chartview.Cursor()
coin := "ethereum"
ct.chartPoints(maxX, coin)
ct.setChart()
fmt.Fprint(v, cy)
return nil
})
/*
g.Update(func(g *gocui.Gui) error {
ct.chartview.Clear()
maxX, _ := g.Size()
_, cy := ct.chartview.Cursor()
coin := "ethereum"
ct.chartPoints(maxX, coin)
ct.setChart()
fmt.Fprint(ct.chartview, cy)
return nil
})
*/
return nil
}

Loading…
Cancel
Save