ui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MINIMUM_HEIGHT = 10
View Source
const MINIMUM_WIDTH = 32
View Source
const TITLE_HEIGHT = 2

The height of `style.Title.Render()`

Variables

This section is empty.

Functions

This section is empty.

Types

type EndTaskMsg

type EndTaskMsg struct {
	Task string
}

type ErrTaskMsg

type ErrTaskMsg struct {
	Task string
	Err  error
}

type IndexModel

type IndexModel struct {
	Screens map[screen.ScreenTag]screen.Screen
	Current screen.ScreenTag
	// contains filtered or unexported fields
}

func NewIndexModel

func NewIndexModel() IndexModel

func (IndexModel) Init

func (model IndexModel) Init() tea.Cmd

func (IndexModel) Update

func (model IndexModel) Update(raw tea.Msg) (tea.Model, tea.Cmd)

func (IndexModel) View

func (model IndexModel) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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