model

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinalResponse

func FinalResponse(gollama TUI) string

func InitSpinner

func InitSpinner() spinner.Model

Types

type TUI

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

func NewModel

func NewModel(config *config.Config) (*TUI, error)

func (*TUI) CopyToClipboard

func (gollama *TUI) CopyToClipboard()

func (*TUI) FindCodeBlocks

func (gollama *TUI) FindCodeBlocks()

func (TUI) Init

func (gollama TUI) Init() tea.Cmd

func (*TUI) NavigateView

func (gollama *TUI) NavigateView(direction int)

func (TUI) Update

func (gollama TUI) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (TUI) View

func (gollama TUI) View() (render string)

Jump to

Keyboard shortcuts

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