tui

package
v0.0.0-...-5415481 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessDefaultTableEvents

func ProcessDefaultTableEvents(table *widgets.Table, event tcell.Event) (bool, error)

func RunWidgetApp

func RunWidgetApp() (err error)

Types

type ExecCmd

type ExecCmd struct {
	// contains filtered or unexported fields
}

type ExitEvent

type ExitEvent struct{}

type NoEvent

type NoEvent struct{}

type OutputEvent

type OutputEvent interface {
	// contains filtered or unexported methods
}

type ShowText

type ShowText struct {
	// contains filtered or unexported fields
}

type TableController

type TableController struct {
	Table     widgets.Table
	Status    widgets.StatusBar
	TempDir   string
	InputMode bool
}

func NewTableController

func NewTableController(source cache.HierarchicalTabularDataSource, tempDir string) (TableController, error)

func (*TableController) Process

func (l *TableController) Process(event tcell.Event) (OutputEvent, error)

func (*TableController) Refresh

func (l *TableController) Refresh() ([]widgets.StyledText, error)

func (*TableController) Resize

func (l *TableController) Resize(width int, height int) error

func (TableController) Text

func (l TableController) Text() ([]widgets.StyledText, error)

Jump to

Keyboard shortcuts

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