Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleModel ¶
type ConsoleModel struct {
// contains filtered or unexported fields
}
func NewConsoleModel ¶
func NewConsoleModel(callback func(string)) ConsoleModel
func (ConsoleModel) Init ¶
func (this ConsoleModel) Init() tea.Cmd
func (*ConsoleModel) SetStyles ¶
func (this *ConsoleModel) SetStyles(promptOutStyle, promptTextStyle lipgloss.Style)
func (ConsoleModel) View ¶
func (this ConsoleModel) View() string
type ConsolePrintMsg ¶
type ConsolePrintMsg struct {
Text string
}
type ConsoleProgram ¶
type ConsoleProgram struct {
// contains filtered or unexported fields
}
func NewConsoleProgram ¶
func NewConsoleProgram(configCallback func(ConsoleModel) ConsoleModel, commandCallback func(string), exitCallback func()) *ConsoleProgram
func (*ConsoleProgram) Printf ¶
func (this *ConsoleProgram) Printf(format string, args ...any)
func (*ConsoleProgram) Println ¶
func (this *ConsoleProgram) Println(format string)
Click to show internal directories.
Click to hide internal directories.