ui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunChat

func RunChat()

func RunList

func RunList()

Types

type ChatModel

type ChatModel struct {
	Input       chan string
	Sub         chan struct{}
	AiResponse  chan string
	Viewport    viewport.Model
	Spinner     spinner.Model
	Messages    []string
	Textarea    textarea.Model
	SenderStyle lipgloss.Style
	Err         error
}
var Chat ChatModel

func (ChatModel) Init

func (m ChatModel) Init() tea.Cmd

func (ChatModel) Update

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

func (ChatModel) View

func (m ChatModel) View() string

Jump to

Keyboard shortcuts

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