termui

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statistics

type Statistics struct {
	TotalTitles  int
	TotalUpdates int
	TotalDLC     int
	// contains filtered or unexported fields
}

func (Statistics) Redraw

func (s Statistics) Redraw()

type TaskState

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

func (*TaskState) UpdateStatus

func (t *TaskState) UpdateStatus(state string)

type TermUI

type TermUI struct {
	sync.Mutex

	//Logger points to this
	LogsView   *tview.TextView
	Statistics *Statistics
	// contains filtered or unexported fields
}

func NewTermUI

func NewTermUI() *TermUI

func (*TermUI) RegisterTask

func (t *TermUI) RegisterTask(taskName string) *TaskState

func (*TermUI) Run

func (t *TermUI) Run()

func (*TermUI) Stop

func (t *TermUI) Stop()

Jump to

Keyboard shortcuts

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