base

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Content string
	Speaker Speaker
}

type Model

type Model struct {
	Window       *utils.Window
	Cfg          *config.Config
	TextInput    textinput.Model
	Conversation []*Message
}

func NewModel

func NewModel() (*Model, error)

type Speaker

type Speaker int
const (
	Bot Speaker = iota
	User
)

Jump to

Keyboard shortcuts

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