ui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuneA = 97
	RuneD = 100
	RuneH = 104
	RuneR = 114
)

Variables

This section is empty.

Functions

func CreateContainerGrid

func CreateContainerGrid(contentView tview.Primitive, statusView *tview.TextView) *tview.Grid

func CreateStatusTextView

func CreateStatusTextView(text string) *tview.TextView

Types

type Controller

type Controller interface {
	ShowItems(enitityList *domain.EntityList)
	ShowValuePage(enitity *domain.Entity)
	ShowKeyPage()
	ShowDeletePage(enitity *domain.Entity)
	ShowHelpPage()
	CloseKeyPage()
	CloseValuePage()
	CloseDeletePage(errorText string)
	CloseHelpPage()
	Focus(view tview.Primitive)
	Unfocus()
	Enque(f func())
}

Jump to

Keyboard shortcuts

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