tui

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFull     FullScrState = 0
	ProcFull                 = 1
	LogProcHalf              = 2
)

Variables

This section is empty.

Functions

func SetupTui

func SetupTui(version string, logLength int)

Types

type FullScrState added in v0.17.0

type FullScrState int

type LogView added in v0.10.0

type LogView struct {
	tview.TextView
	// contains filtered or unexported fields
}

func NewLogView added in v0.10.0

func NewLogView(maxLines int) *LogView

func (*LogView) AddLine added in v0.10.0

func (l *LogView) AddLine(line string)

func (*LogView) AddLines added in v0.10.0

func (l *LogView) AddLines(lines []string)

func (*LogView) Flush added in v0.10.0

func (l *LogView) Flush()

func (*LogView) IsWrapOn added in v0.10.0

func (l *LogView) IsWrapOn() bool

func (*LogView) SetLines added in v0.10.0

func (l *LogView) SetLines(lines []string)

func (*LogView) ToggleWrap added in v0.10.0

func (l *LogView) ToggleWrap()

Jump to

Keyboard shortcuts

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