ui

package
v0.0.0-...-3f5de73 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const AssistantMsgHeader = "[#000000:green:b]Assistant:[-:-:-]\n\n"
View Source
const UserMsgHeader = "[#000000:blue:b]You:[-:-:-]\n\n"

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	Fnord *fnord.Fnord
	// contains filtered or unexported fields
}

func New

func New() *UI

func (*UI) CurrentPage

func (ui *UI) CurrentPage() string

func (*UI) Open

func (ui *UI) Open(pageName string)

func (*UI) OpenChat

func (ui *UI) OpenChat()

func (*UI) OpenFilePicker

func (ui *UI) OpenFilePicker(prompt string, path string, callback func(string))

func (*UI) OpenHelp

func (ui *UI) OpenHelp()

func (*UI) OpenHome

func (ui *UI) OpenHome()

func (*UI) OpenLogs

func (ui *UI) OpenLogs()

func (*UI) Quit

func (ui *UI) Quit()

func (*UI) Run

func (ui *UI) Run()

func (*UI) SetStatus

func (ui *UI) SetStatus(status string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳