ui

package
v0.0.0-...-b2ec008 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppComponents

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

type AppModel

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

func InitialModel

func InitialModel() AppModel

func (AppModel) Init

func (m AppModel) Init() tea.Cmd

func (AppModel) Update

func (m AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (AppModel) View

func (m AppModel) View() string

type LoadCompleted

type LoadCompleted[T any] struct {
	// contains filtered or unexported fields
}

type LoadedAccount

type LoadedAccount = LoadCompleted[services.Account]

type LoadedMessages

type LoadedMessages = LoadCompleted[[]services.Message]

type MailListModel

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

func InitialMailList

func InitialMailList() MailListModel

func (MailListModel) Init

func (m MailListModel) Init() tea.Cmd

func (MailListModel) Update

func (m MailListModel) Update(msg tea.Msg) (MailListModel, tea.Cmd)

func (MailListModel) View

func (m MailListModel) View() string

type SpinnerModel

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

type StatusBarModel

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

func InitialStatusBar

func InitialStatusBar() StatusBarModel

func (StatusBarModel) Init

func (m StatusBarModel) Init() tea.Cmd

func (StatusBarModel) Update

func (m StatusBarModel) Update(msg tea.Msg) (StatusBarModel, tea.Cmd)

func (StatusBarModel) View

func (m StatusBarModel) View() string

type StatusBarTick

type StatusBarTick = spinner.TickMsg

Jump to

Keyboard shortcuts

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