Esempio n. 1
0
func (c *CUI) printActionHelp(g *gocui.Gui) error {
	v, err := g.View("HelpView")
	if err != nil {
		return err
	}
	v.Clear()
	fmt.Fprint(v, "Use <Enter> to acknowledge action. <Backspace> to go Back. <Space> to report Error.\n<Ctrl-X> to exit at any time")
	return nil
}
Esempio n. 2
0
func (c *CUI) printGeneralHelp(g *gocui.Gui) error {
	v, err := g.View("HelpView")
	if err != nil {
		return err
	}
	v.Clear()
	fmt.Fprint(v, "Use up/down keys to highlight Actions. <Enter> to select. <Tab> to change to Log Messages List.\n<Ctrl-X> to exit at any time")
	return nil
}