tui

package
v0.0.0-...-b0c511e Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DocStyle            = lipgloss.NewStyle().Margin(1, 2)
	ModuleWrapper       = lipgloss.NewStyle().Margin(1, 4)
	FocusedStyle        = lipgloss.NewStyle().Foreground(lipgloss.Color("#c8a35c"))
	BlurredStyle        = lipgloss.NewStyle().Foreground(lipgloss.Color("240"))
	CursorStyle         = FocusedStyle
	NoStyle             = lipgloss.NewStyle()
	HelpStyle           = BlurredStyle
	CursorModeHelpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("244"))
	TitleStyle          = lipgloss.NewStyle().Foreground(lipgloss.Color("#c8a35c")).Background(lipgloss.Color("#1c4341")).Bold(true)
	FooterStyle         = lipgloss.NewStyle().Foreground(lipgloss.Color("240"))
	ErrStyle            = lipgloss.NewStyle().Foreground(lipgloss.Color("#f00")).Bold(true)
)

Functions

func InitalModel

func InitalModel() tea.Model

func Start

func Start() error

Types

type MenuItem struct {
	// contains filtered or unexported fields
}
func (i MenuItem) Description() string
func (i MenuItem) FilterValue() string
func (i MenuItem) Title() string

type Object

type Object string

type ObjectItem

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

func (ObjectItem) Description

func (i ObjectItem) Description() string

func (ObjectItem) FilterValue

func (i ObjectItem) FilterValue() string

func (ObjectItem) Title

func (i ObjectItem) Title() string

Jump to

Keyboard shortcuts

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