tui

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTui

func SetupTui(version string, logLength int)

Types

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