tui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChooseProvider

func ChooseProvider() (string, *widgets.Image, error)

func Tui

func Tui(provider string, pImage *widgets.Image)

Types

type ImagesWidget

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

func (*ImagesWidget) Next

func (i *ImagesWidget) Next()

func (*ImagesWidget) Previous

func (i *ImagesWidget) Previous()

type LineChart

type LineChart struct {
	*widgets.Plot
}

func (*LineChart) Modify

func (l *LineChart) Modify(point float64)

func (*LineChart) Reset

func (l *LineChart) Reset()

type LogView

type LogView struct {
	*widgets.List
	// contains filtered or unexported fields
}

func (*LogView) Modify

func (l *LogView) Modify(data []byte)

func (*LogView) Reset

func (l *LogView) Reset()

type StdoutStream

type StdoutStream struct {
	*os.File
	// contains filtered or unexported fields
}

func NewsStdoutStream

func NewsStdoutStream(f *os.File) *StdoutStream

func (*StdoutStream) Write

func (s *StdoutStream) Write(p []byte) (n int, err error)

type ToggleList

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

func NewToggleList

func NewToggleList(listA *widgets.List, listB *widgets.List) *ToggleList

func (*ToggleList) HandleEvent

func (t *ToggleList) HandleEvent(e *ui.Event) bool

func (*ToggleList) ToggleTo

func (t *ToggleList) ToggleTo(list *widgets.List) bool

Jump to

Keyboard shortcuts

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