ui

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppView

func AppView(contents ...string) string

func ButtonView

func ButtonView(focused bool, label string, btntype utils.ButtonType) string

func ComplexContainerView added in v1.3.0

func ComplexContainerView(focused bool, containerType utils.ContainerType, contents ...string) string

func DebugView

func DebugView(enabled bool, dbg string) string

func PathInputView

func PathInputView(focused bool, ti textinput.Model) string

func RadioView

func RadioView(focused bool, label string, state bool) string

func SelectorView

func SelectorView(
	focused bool,
	multiselect bool,
	cursor int,
	items []string,
	selected, disabled map[string]struct{},
	view_limit int,
) string

func SimpleContainerView added in v1.3.0

func SimpleContainerView(focused bool, content string) string

func TextView

func TextView(focused bool, txt string, texttype utils.TextType) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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