Documentation
¶
Overview ¶
Package chatui provides a very simple chat like interface for applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatUI ¶
type ChatUI struct {
// contains filtered or unexported fields
}
ChatUI is a simple text UI that looks kind of like a chat window.
type Config ¶
type Config struct { OutputCh <-chan string CommandCh chan<- string Theme *tview.Theme DynamicColor bool BlockCtrlC bool HistorySize int }
Config is the configuration of the chat UI
type History ¶
type History struct {
// contains filtered or unexported fields
}
History represents a command history
func NewHistory ¶
NewHistory creates new History instance.
Click to show internal directories.
Click to hide internal directories.