You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/cointop/help.go

17 lines
334 B
Go

package cointop
import (
"github.com/jroimartin/gocui"
"github.com/miguelmota/cointop/pkg/open"
)
// TODO: create a help menu
func (ct *Cointop) openHelp(g *gocui.Gui, v *gocui.View) error {
open.URL(ct.helpLink())
return nil
}
func (ct *Cointop) helpLink() string {
return "https://github.com/miguelmota/cointop#shortcuts"
}