help view: add menu

pull/10/head
Edouard Paris 5 years ago
parent a19a15ad1b
commit 37a4832361

@ -61,6 +61,8 @@ func (h Help) Set(g *gocui.Gui, x0, y0, x1, y1 int) error {
fmt.Fprintln(h.view, "")
fmt.Fprintln(h.view, fmt.Sprintf("%6s %s",
cyan("F1 h:"), "show/close this help screen"))
fmt.Fprintln(h.view, fmt.Sprintf("%6s %s",
cyan("F2 m:"), "show/close the menu sidebar"))
fmt.Fprintln(h.view, fmt.Sprintf("%6s %s",
cyan("F10 q:"), "quit"))
_, err = g.SetCurrentView(HELP)

Loading…
Cancel
Save