Exemple #1
0
//nextView jumps between the ActionListView and the LogView
func (c *CUI) nextView(g *gocui.Gui, v *gocui.View) error {
	if v == nil || v.Name() == "ActionListView" {
		return g.SetCurrentView("LogView")
	}
	return g.SetCurrentView("ActionListView")
}