Versions in this module Expand all Collapse all v0 v0.0.2 May 6, 2021 v0.0.1 Mar 22, 2020 Changes in this version + type Cursor struct + func (cursor *Cursor) FindPosition(g *gocui.Gui, viewName string) (int, int, error) + func (cursor *Cursor) Move(g *gocui.Gui, v *gocui.View, d int, callback func(int, int) error) bool + func (cursor *Cursor) MoveToFirst(g *gocui.Gui, v *gocui.View) error + type LoadingPanel struct + ViewName string + func NewLoadingPanel() (*LoadingPanel, error) + func (loadingPanel *LoadingPanel) DrawView(g *gocui.Gui) error + func (loadingPanel *LoadingPanel) ShowLoading(g *gocui.Gui, callback func()) error + type Position struct + type RepositoryPanel struct + Result *lib.Result + ViewName string + func NewRepositoryPanel() (*RepositoryPanel, error) + func (repositoryPanel *RepositoryPanel) DrawView(g *gocui.Gui) error + type SearchPanel struct + ViewName string + func NewSearchPanel() (*SearchPanel, error) + func (searchPanel *SearchPanel) DrawView(g *gocui.Gui) error + type StatusPanel struct + ViewName string + func NewStatusPanel() (*StatusPanel, error) + func (statusPanel *StatusPanel) DrawText(g *gocui.Gui, message string) error + func (statusPanel *StatusPanel) DrawView(g *gocui.Gui) error + type TextPanel struct + ViewName string + func NewTextPanel() (*TextPanel, error) + func (textPanel *TextPanel) DrawReadme(g *gocui.Gui, item *lib.Item, readme string) error + func (textPanel *TextPanel) DrawText(g *gocui.Gui, item *lib.Item) error + func (textPanel *TextPanel) DrawView(g *gocui.Gui) error + type ViewPosition struct + func (vp ViewPosition) GetCoordinates(maxX int, maxY int) (int, int, int, int)