mirror of https://github.com/miguelmota/cointop
open link help
Former-commit-id: 5783e7f7c8f6d0f3d58bead045dee39f8cf5cbe2 [formerly 5783e7f7c8f6d0f3d58bead045dee39f8cf5cbe2 [formerly f6a515de2f6dc9bd97c9cb6cc0e10950ccd7566a [formerly fe1a3bcebe
]]]
Former-commit-id: 02604f51a652c8dbeb4fbd94d75cc564d688fbd8
Former-commit-id: 9f5b365109d599f98d02300e6301b1f35cd16bdf [formerly 6ce08da9d1db215c22050cf7af33f4c97cfd3f85]
Former-commit-id: 82d0a4ada5fa0912e2de63eaaaadda685f8fe051
pull/15/head
parent
d47824bd28
commit
a1dd05c4e0
@ -0,0 +1,16 @@
|
|||||||
|
package cointop
|
||||||
|
|
||||||
|
import (
|
||||||
|
"os/exec"
|
||||||
|
|
||||||
|
"github.com/jroimartin/gocui"
|
||||||
|
)
|
||||||
|
|
||||||
|
func (ct *Cointop) openHelp(g *gocui.Gui, v *gocui.View) error {
|
||||||
|
exec.Command("open", ct.helpLink()).Output()
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ct *Cointop) helpLink() string {
|
||||||
|
return "https://github.com/miguelmota/cointop"
|
||||||
|
}
|
Loading…
Reference in New Issue