tui

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountModel

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

AccountModel manages the account list and add-account form.

func NewAccountModel

func NewAccountModel() AccountModel

func (AccountModel) Init

func (m AccountModel) Init() tea.Cmd

func (AccountModel) Update

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

func (AccountModel) View

func (m AccountModel) View() string

type ChatModel

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

ChatModel is the main chat screen with viewport, input, and streaming state.

func NewChatModel

func NewChatModel() ChatModel

func (ChatModel) Init

func (m ChatModel) Init() tea.Cmd

func (ChatModel) Update

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

func (ChatModel) View

func (m ChatModel) View() string

type MainModel

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

MainModel routes between splash, chat, and account screens.

func NewMainModel

func NewMainModel() MainModel

func (MainModel) Init

func (m MainModel) Init() tea.Cmd

func (MainModel) Update

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

func (MainModel) View

func (m MainModel) View() string

type SplashModel

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

SplashModel displays the animated bird splash screen.

func NewSplashModel

func NewSplashModel() SplashModel

func (SplashModel) Init

func (m SplashModel) Init() tea.Cmd

func (SplashModel) Update

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

func (SplashModel) View

func (m SplashModel) View() string

Jump to

Keyboard shortcuts

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