Documentation
¶
Overview ¶
Package bubbletea implements ui.ChatUI for interactive terminals using the Charm bubbletea framework. It provides a scrollable chat history, a text input prompt, a typing/spinner indicator, and Markdown rendering via glamour.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
Terminal implements ui.ChatUI for interactive terminal sessions.
func New ¶
New creates a new terminal chat UI. The UI takes over the terminal and should be closed when done.
func (*Terminal) AppendHistory ¶
AppendHistory adds a message to the chat display without generating an event. Used to restore previous conversation history.
func (*Terminal) ClearHistory ¶
func (t *Terminal) ClearHistory()
ClearHistory clears all messages from the chat display.
Click to show internal directories.
Click to hide internal directories.