ui

package
v0.0.0-...-344556e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMRList

func NewMRList(app *Application) *mrList

Types

type Application

type Application struct {
	*tview.Application
	// contains filtered or unexported fields
}

Application is our application with base menu and pages on it

func NewApplication

func NewApplication() *Application

func (*Application) AddSection

func (app *Application) AddSection(title string, item *mrList)

func (*Application) GetSectionsCount

func (app *Application) GetSectionsCount() int

GetSectionsCount returns count of sections. Every section have 2 pages: with full mr and with only it's description.

func (*Application) Run

func (app *Application) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL