tui

package
v0.0.0-...-b358b1d Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Option

func Option(r *taskrunner.Runtime)

Types

type Label

type Label struct {
	*tui.Box
	Child *tui.Label
	Style string
}

func (*Label) Draw

func (l *Label) Draw(p *tui.Painter)

func (*Label) SetStyleName

func (l *Label) SetStyleName(style string)

type UI

type UI struct {
	tui.UI
	// contains filtered or unexported fields
}

func New

func New() *UI

func (*UI) Quit

func (ui *UI) Quit()

func (*UI) Run

func (ui *UI) Run(ctx context.Context, executor *taskrunner.Executor) error

func (*UI) Subscribe

func (ui *UI) Subscribe(events <-chan taskrunner.ExecutorEvent) error

Jump to

Keyboard shortcuts

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